Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 694 for statusFn (0.07 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */
      val status: String
    
      val code: Int
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[1].toInt()
        }
    
      val message: String
        get() {
          val statusParts = status.split(' ', limit = 3)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            protected String version = ComponentUtil.getSystemHelper().getProductVersion();
            protected int status;
    
            public ApiResponse status(final Status status) {
                this.status = status.getId();
                return this;
            }
    
            public ApiResult result() {
                return new ApiResult(this);
            }
        }
    
        public static class ApiUpdateResponse extends ApiResponse {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            final List<Map<String, Object>> list = getFileItems(id.isPresent() ? decodePath(id.get()) : null);
            try {
                return asJson(new ApiResult.ApiStorageResponse().items(list).status(ApiResult.Status.OK).result());
            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        }
    
        @Test
        void testAvailable_ok() {
            checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testInstall_ng() {
            checkPutMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1));
        }
    
        @Test
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 01 02:20:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // PUT /api/admin/reqheader/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
    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/app/web/api/admin/webauth/ApiAdminWebauthAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // PUT /api/admin/webauth/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. internal/dsync/dsync-client_test.go

    	return restClient.Call("/v1/rlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Lock(ctx context.Context, args LockArgs) (status bool, err error) {
    	return restClient.Call("/v1/lock", args)
    }
    
    func (restClient *ReconnectRESTClient) RUnlock(ctx context.Context, args LockArgs) (status bool, err error) {
    	return restClient.Call("/v1/runlock", args)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

            final StringBuilder resultBuf = new StringBuilder();
    
            final PingResponse ping = searchEngineClient.ping();
            final int status = ping.getStatus();
            if (systemHelper.isChangedClusterState(status)) {
                if (fessConfig.hasNotification()) {
                    final String toStrs = fessConfig.getNotificationTo();
                    final String[] toAddresses;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/additional-responses.md

    ///
    
    Você pode declarar retornos adicionais, com códigos de status adicionais, media types, descrições, etc.
    
    Essas respostas adicionais serão incluídas no esquema do OpenAPI, e também aparecerão na documentação da API.
    
    Porém para as respostas adicionais, você deve garantir que está retornando um `Response` como por exemplo o `JSONResponse` diretamente, junto com o código de status e o conteúdo.
    
    ## Retorno Adicional com `model`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/mail/CrawlerPostcard.java

        }
    
        /**
         * Set the value of status, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param status The parameter value of status. (NotNull)
         */
        public void setStatus(String status) {
            registerVariable("status", status);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top