Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

         * Configuration parameters are encrypted before storage.
         *
         * @param webConfig The web configuration to store
         */
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/webconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        String getWebConfigId() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

         */
        // GET /api/admin/webconfig/settings
        // PUT /api/admin/webconfig/settings
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
            final WebConfigPager pager = copyBeanToNewBean(body, WebConfigPager.class);
            final List<WebConfig> list = webConfigService.getWebConfigList(pager);
            return asJson(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. 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;
    
    /**
     * Request body for creating web configuration via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1014 bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 24 13:43:18 UTC 2020
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/EditBody.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.EditForm;
    
    /**
     * Request body class for web config edit operations in the admin REST API.
     * This class extends EditForm to inherit the necessary form validation and binding capabilities
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
            checkMethodBase(requestBody).post("/api/admin/webconfig/setting")
                    .then()
                    .body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        String getWebConfigId() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top