Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for body (0.16 sec)

  1. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

            return DELETE_ENDPOINT_SUFFIX;
        }
    
        protected Response checkDeleteMethod(final Map<String, Object> body) {
            return checkMethodBase(body).delete(getApiPath() + "/");
        }
    
        @Test
        void testInstalled_ok() {
            checkGetMethod(Collections.emptyMap(), getInstalledEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testAvailable_ok() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

            final ListBody body = new ListBody();
            body.id = dictionaryFile.getId();
            body.type = dictionaryFile.getType();
            body.path = dictionaryFile.getPath();
            body.timestamp = dictionaryFile.getTimestamp();
            return body;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.token = entity.getToken();
            body.reading = entity.getReading();
            body.pos = entity.getPos();
            body.segmentation = entity.getSegmentation();
            return body;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        }
    
        protected EditBody createEditBody(final CharMappingItem entity, final String dictId) {
            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.inputs = entity.getInputsValue();
            body.output = entity.getOutput();
            return body;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top