Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for HOST (0.01 seconds)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2") };
                }
            });
    
            MockletHttpServletRequest request = getMockRequest();
    
            // No matching host header
            String key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key);
    
            // Matching host header
            request.addHeader("Host", "example.com");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        /**
         * Displays the initial duplicate host management page.
         *
         * @param form the search form
         * @return HTML response for the duplicate host list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
        }
    
        /**
         * Displays the duplicate host list with pagination.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

        //                                                          ========================
    
        @Test
        public void test_isValidVirtualHostPath_emptyPath() throws Exception {
            setupVirtualHostHelper();
    
            Boolean result = invokeIsValidVirtualHostPath("");
            assertTrue("Empty path should be valid (default host)", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            try {
                final URI uri = new URI(url);
                String host = uri.getHost();
                String path = uri.getPath();
    
                if (host == null || host.isEmpty()) {
                    host = "_local";
                }
    
                if (path == null || path.isEmpty()) {
                    path = "/" + formatter.getIndexFileName();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            mockBhv.setTestData(testData);
    
            int count = relatedQueryHelper.load();
            assertEquals(1, count); // One virtual host key (empty)
    
            String[] results = relatedQueryHelper.getRelatedQueries("java");
            assertEquals(3, results.length);
            assertEquals("programming", results[0]);
            assertEquals("tutorial", results[1]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            }
    
            final WebAuthenticationConfig config = new WebAuthenticationConfig();
    
            // host/port/realm: only set if not blank (null means "any" - AuthScope.ANY equivalent)
            final String host = paramMap.get(prefix + "host");
            if (StringUtil.isNotBlank(host)) {
                config.setHost(host);
            }
    
            final String port = paramMap.get(prefix + "port");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                            .responseFields(new String[] { fessConfig.getIndexFieldDocId() })
                            .build());
        }
    
        /**
         * Returns a query map for the specified virtual host.
         *
         * @param key The virtual host key.
         * @return A map of terms and boost information.
         */
        protected Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> getQueryMap(final String key) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            }
    
            /**
             * Returns the virtual host.
             *
             * @return The virtual host.
             */
            public String getVirtualHost() {
                return virtualHost;
            }
    
            /**
             * Sets the virtual host.
             *
             * @param virtualHost The virtual host.
             */
            public void setVirtualHost(final String virtualHost) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @return the logger instance
         */
        Logger getLogger();
    
        /**
         * Extracts the host name from a URL string.
         * Removes protocol and path components to return just the hostname.
         *
         * @param u the URL string to extract host from
         * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails
         */
        default String getHost(final String u) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/FessBoot.java

                    fessLogPath = "../../logs";
                }
                op.replace("fess.log.path", fessLogPath.replace("\\", "/"));
            }).asYouLikeIt(resource -> {
                final Host host = resource.getHost();
                if (host instanceof final StandardHost standardHost) {
                    standardHost.setErrorReportValveClass(SuppressErrorReportValve.class.getName());
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top