Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for body (0.14 sec)

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

            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).put("/api/admin/fileconfig/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        String getFileConfigId() {
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("name", "test_fileconfig");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

                checkPostMethod(requestBody, getItemEndpointSuffix()).then().body("response.status", equalTo(0));
                refresh();
            }
    
            checkUpdate();
        }
    
        @Override
        protected List<Map<String, Object>> getItemList(final Map<String, Object> body) {
            final String response = checkMethodBase(body).get(getApiPath() + "/" + getListEndpointSuffix()).asString();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

        }
    
        @Override
        protected List<String> getIdList(final Map<String, Object> body) {
            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
            List<Object> objList = JsonPath.from(response).getList(getJsonPath() + "." + getIdKey());
            List<String> ret = new ArrayList<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

                throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, msg), () -> asListHtml(this::saveToken));
            } else {
                try (final CurlResponse response = curlRequest.body(buf.toString()).execute()) {
                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("esreq_", ".json");
                    try (final InputStream in = response.getContentAsStream()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final String bodyBase = buf.toString().trim();
            responseData.addMetaData(Extractor.class.getSimpleName(), extractor);
            final String body = documentHelper.getContent(crawlingConfig, responseData, bodyBase, dataMap);
            putResultDataBody(dataMap, fessConfig.getIndexFieldContent(), body);
            if ((Constants.TRUE.equalsIgnoreCase(fieldConfigMap.get(fessConfig.getIndexFieldCache()))
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/guide/GetExample.java

      String run(String url) throws IOException {
        Request request = new Request.Builder()
            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
        String response = example.run("https://raw.github.com/square/okhttp/master/README.md");
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new CheckHandshake().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        buf.append('{').append(escapeJsonKeyValue(DOC_ID_FIELD, docIdList.get(i))).append('}');
                    }
                }
                buf.append(']');
                body = buf.toString();
                writeJsonResponse(HttpServletResponse.SC_OK, body);
            } catch (final WebApiException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a favorites request.", e);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final Map<String, String> configParam = crawlingConfig.getConfigParameterMap(ConfigName.CONFIG);
                if (configParam != null && Constants.TRUE.equalsIgnoreCase(configParam.get(Param.Config.KEEP_ORIGINAL_BODY))) {
                    return content;
                }
            }
    
            if (responseData.getMetaDataMap().get(Extractor.class.getSimpleName()) instanceof TikaExtractor) {
                return content;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top