Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 802 for process (0.05 sec)

  1. docs/en/docs/tutorial/middleware.md

    You can add code to be run with the `request`,  before any *path operation* receives it.
    
    And also after the `response` is generated, before returning it.
    
    For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response:
    
    ```Python hl_lines="10  12-13"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    public class AdminRelatedcontentAction extends FessAdminAction {
    
        public static final String ROLE = "admin-relatedcontent";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    public class AdminBoostdocAction extends FessAdminAction {
    
        public static final String ROLE = "admin-boostdoc";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

            final WebApiManager webApiManager = webApiManagerFactory.get((HttpServletRequest) request);
            if (webApiManager == null) {
                chain.doFilter(request, response);
            } else {
                webApiManager.process((HttpServletRequest) request, (HttpServletResponse) response, chain);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

            final LabelType labelType = getLabelType(body).map(entity -> {
                try {
                    labelTypeService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
                return entity;
            }).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    import org.opensearch.monitor.jvm.JvmInfo;
    import org.opensearch.monitor.os.OsProbe;
    import org.opensearch.monitor.process.ProcessProbe;
    
    import jakarta.annotation.Resource;
    
    public class SuggestCreator {
    
        private static final Logger logger = LogManager.getLogger(SuggestCreator.class);
    
        @Resource
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     * @author Shunji Makino
     */
    public class AdminWebauthAction extends FessAdminAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch)`
     * 3. Register with `client.eventListenerFactory(eventListenerFactory)`
     * 4. Launch wireshark if not done externally `val process = eventListenerFactory.launchWireShark()`
     */
    @SuppressSignatureCheck
    class WireSharkListenerFactory(
      private val logFile: File,
      private val tlsVersions: List<TlsVersion>,
      private val launch: Launch? = null,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

                    crawlingInfoService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

                    failureUrlService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top