Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for webConfig (0.13 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java

            return new org.codelibs.fess.crawler.client.http.RequestHeader(getName(), getValue());
        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
                final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                try {
                    webConfig = webConfigService.getWebConfig(getWebConfigId()).get();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

            });
    
            return asJson(new ApiUpdateResponse().id(webConfig.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/webconfig/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final WebConfig webConfig = getWebConfig(body).map(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            WebConfig webConfig = new WebConfig();
            final String userAgent = "TestAgent";
            webConfig.setUserAgent(userAgent);
            webConfig.setConfigParameter("""
                    client.robotsTxtEnabled=false
                    """);
            CrawlerClientFactory crawlerClientFactory = webConfig.initializeClientFactory(() -> new CrawlerClientFactory() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
                final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                try {
                    webConfig = webConfigService.getWebConfig(getWebConfigId()).get();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            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");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/CreateBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.webconfig;
    
    import org.codelibs.fess.app.web.admin.webconfig.CreateForm;
    
    public class CreateBody extends CreateForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 787 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            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");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader.jsp

            </div>
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <c:if test="${!displayCreateLink}">
                            <la:link href="../webconfig/" styleClass="btn btn-primary ${f:h(editableClass)}">
                                <la:message key="labels.reqheader_create_web_config"/>
                            </la:link>
                        </c:if>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 24 13:43:18 UTC 2020
    - 5.5K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="webConfig"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 8.6K bytes
    - Viewed (0)
Back to top