Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for host (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        }
    
        /**
         * Decodes the given host string using the specified encoding.
         *
         * @param host the host string to decode
         * @return the decoded host string
         */
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
            try {
                return URLDecoder.decode(host, encoding);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * that controls the interval between requests to the same host.
     * It uses a ConcurrentMap to store the last access time for each host.
     * The delayBeforeProcessing method is overridden to introduce a delay before processing a URL,
     * ensuring that requests to the same host are not made too frequently.
     * The delay is calculated based on the configured delayMillisBeforeProcessing parameter.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        /**
         * Gets the active external host IP address for active mode FTP.
         *
         * @return The active external host IP address
         */
        public String getActiveExternalHost() {
            return activeExternalHost;
        }
    
        /**
         * Sets the active external host IP address for active mode FTP.
         *
         * @param activeExternalHost The active external host IP address
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                closeResources(httpRequest, responseData);
                throw new CrawlingAccessException("Unknown host(" + e.getMessage() + "): " + url, e);
            } catch (final NoRouteToHostException e) {
                closeResources(httpRequest, responseData);
                throw new CrawlingAccessException("No route to host(" + e.getMessage() + "): " + url, e);
            } catch (final ConnectException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            sambaServer.start();
            logger.info("Samba container started");
    
            String host = sambaServer.getContainerIpAddress();
            Integer port = sambaServer.getMappedPort(445);
            baseUrl = "smb://" + host + ":" + port + "/users/";
            logger.info("Base URL: {}", baseUrl);
    
            StandardCrawlerContainer container = new StandardCrawlerContainer()//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. README.md

    ### Connection Pool Tuning
    
    ```java
    container.singleton("httpClient", HcHttpClient.class, client -> {
        client.setMaxConnections(200);          // Total connections
        client.setMaxConnectionsPerRoute(20);   // Per-host connections
        client.setConnectionTimeout(30000);     // Connection timeout
        client.setSocketTimeout(60000);         // Read timeout
    });
    ```
    
    ### Memory Management
    
    ```java
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

     */
    public class RequestData {
        /**
         * HTTP methods supported for crawling requests.
         */
        public enum Method {
            /** HTTP GET method. */
            GET,
            /** HTTP POST method. */
            POST,
            /** HTTP HEAD method. */
            HEAD;
        }
    
        /** The HTTP method for this request. */
        private Method method;
    
        /** The URL for this request. */
        private String url;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

                return method(Method.HEAD);
            }
    
            /**
             * Sets the HTTP method to POST.
             * @return The current RequestDataContext instance.
             */
            public RequestDataContext post() {
                return method(Method.POST);
            }
    
            /**
             * Sets the URL for this request data.
             *
             * @param url the URL string to be set
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

         */
        public static final String GET_METHOD = "GET";
    
        /**
         * The HEAD method.
         */
        public static final String HEAD_METHOD = "HEAD";
    
        /**
         * The POST method.
         */
        public static final String POST_METHOD = "POST";
    
        /**
         * The status code for OK.
         */
        public static final int OK_STATUS = 0;
    
        /**
         * The status code for Not Modified.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

     * based on the type of processing.
     * <p>
     * Constants:
     * </p>
     * <ul>
     *   <li>{@code PRE_PROCESSING} - Represents the pre-processing state.</li>
     *   <li>{@code POST_PROCESSING} - Represents the post-processing state.</li>
     *   <li>{@code NO_URL_IN_QUEUE} - Indicates that there are no URLs in the queue.</li>
     *   <li>{@code WAIT_NEW_URL} - Indicates that the crawler is waiting for new URLs.</li>
     * </ul>
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top