Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for body (0.23 sec)

  1. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).put("/api/admin/webconfig/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        String getWebConfigId() {
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("name", "test_webconfig");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

        }
    
        public CurlRequest body(final String body) {
            if (bodyStream != null) {
                throw new CurlException("body method is already called.");
            }
            this.body = body;
            return this;
        }
    
        public CurlRequest body(final InputStream stream) {
            if (body != null) {
                throw new CurlException("body method is already called.");
            }
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

        }
    
        // PUT /api/admin/plugin
        @Execute
        public JsonResponse<ApiResult> put$index(final InstallBody body) {
            validateApi(body, messages -> {});
            final Artifact artifact = ComponentUtil.getPluginHelper().getArtifact(body.name, body.version);
            if (artifact == null) {
                return asJson(
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            validateAttributes(body.attributes, this::throwValidationErrorApi);
            body.crudMode = CrudMode.EDIT;
            final Group entity = getGroup(body).orElseGet(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, body.id);
                });
                return null;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

        }
    
        // PUT /api/admin/labeltype/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final LabelType labelType = getLabelType(body).map(entity -> {
                try {
                    labelTypeService.store(entity);
                } catch (final Exception e) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            Elements bodyContent = document.body().children().remove();
            document.body().prepend("<div class='container'/>");
            document.body().children().get(0).html(bodyContent.outerHtml());
        }
    
        private void addTOC(Document document) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final ScheduledJob entity = getScheduledJob(body).orElseGet(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, body.id);
                });
                return null;
            });
            try {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

          // Consume and discard the response body.
          response.body().source().readByteString();
        }
    
        System.out.println("REQUEST 2 (pooled connection)");
        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            String token = JsonPath.from(response).get("response.setting.token");
            checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then()
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".name", equalTo(name))
                    .body("response." + ITEM_ENDPOINT_SUFFIX + ".token", equalTo(token));
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody body = response.body()) {
              // Consume and discard the response body.
              body.source().readByteString();
            }
          }
        });
    
        Request newYorkTimesRequest = new Request.Builder()
            .url("https://www.nytimes.com/")
            .build();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
Back to top