Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 107 for body (0.2 sec)

  1. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
            return JsonPath.from(response).getList(getJsonPath());
        }
    
        protected List<String> getIdList(final Map<String, Object> body) {
            return getPropList(body, getIdKey());
        }
    
        protected List<String> getPropList(final Map<String, Object> body, final String prop) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

        }
    
        // POST /api/admin/general
        @Execute
        public JsonResponse<ApiResult> post$index(final EditBody body) {
            validateApi(body, messages -> {});
            final EditBody newBody = new EditBody();
            AdminGeneralAction.updateForm(fessConfig, newBody);
            BeanUtil.copyBeanToBean(body, newBody, CopyOptions::excludeNull);
            AdminGeneralAction.updateConfig(fessConfig, newBody);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

        public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
            final ProtwordsPager pager = copyBeanToNewBean(body, ProtwordsPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>()
                    .settings(protwordsService.getProtwordsList(body.dictId, pager).stream()
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  5. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final Role entity = getRole(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
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

        }
    
        // PUT /api/admin/webconfig/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final WebConfig webConfig = getWebConfig(body).map(entity -> {
                try {
                    webConfigService.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
    - 7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

        // GET /api/admin/joblog/logs
        @Execute
        public JsonResponse<ApiResult> logs(final SearchBody body) {
            validateApi(body, messages -> {});
            final JobLogPager pager = copyBeanToNewBean(body, JobLogPager.class);
            final List<JobLog> list = jobLogService.getJobLogList(pager);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java

        }
    
        // PUT /api/admin/relatedcontent/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final RelatedContent relatedContent = getRelatedContent(body).map(entity -> {
                try {
                    relatedContentService.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.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

        @Execute
        public JsonResponse<ApiResult> get$index() {
            final SuggestBody body = new SuggestBody();
            body.totalWordsNum = suggestHelper.getAllWordsNum();
            body.documentWordsNum = suggestHelper.getDocumentWordsNum();
            body.queryWordsNum = suggestHelper.getQueryWordsNum();
            return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/suggest/all
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top