Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for resolve1 (0.04 sec)

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

     * encoding for URL decoding.</p>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * IdnDnsResolver resolver = new IdnDnsResolver();
     * resolver.setFlag(IDN.ALLOW_UNASSIGNED);
     * resolver.setEncoding("UTF-8");
     * InetAddress[] addresses = resolver.resolve("example.com");
     * }
     * </pre>
     *
     */
    public class IdnDnsResolver implements DnsResolver {
    
        /** Flag for IDN conversion. */
    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. src/main/java/org/codelibs/fess/suggest/request/Request.java

         * Constructs a new request.
         */
        public Request() {
            // nothing
        }
    
        /**
         * Executes the request.
         * @param client The OpenSearch client.
         * @return A Promise that will be resolved with the response or rejected with an error.
         */
        public Deferred<T>.Promise execute(final Client client) {
            final String error = getValidationError();
            if (!Strings.isNullOrEmpty(error)) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

        /**
         * Returns whether SIDs (Security Identifiers) should be resolved.
         *
         * @return true if SIDs should be resolved, false otherwise
         */
        public boolean isResolveSids() {
            return resolveSids;
        }
    
        /**
         * Sets whether SIDs (Security Identifiers) should be resolved.
         *
         * @param resolveSids true to resolve SIDs, false otherwise
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

        private final CountDownLatch latch = new CountDownLatch(1);
    
        /**
         * Resolves the deferred computation with the given response.
         * @param r The response.
         */
        public void resolve(final RESPONSE r) {
            final ArrayList<Consumer<RESPONSE>> executeCallbacks;
            synchronized (Deferred.this) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

        public void test_toAscii() {
            IdnDnsResolver resolver = new IdnDnsResolver();
    
            String host = "www.codelibs.org";
            String expected = "www.codelibs.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "ใƒ†ใ‚นใƒˆ.org";
            expected = "xn--zckzah.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "xn--zckzah.org";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            Path dir1 = usersDir.resolve("dir1");
            Files.createDirectory(dir1);
            Files.writeString(dir1.resolve("file2.txt"), "file2");
            Path dir2 = dir1.resolve("dir2");
            Files.createDirectory(dir2);
            Files.writeString(dir2.resolve("file3.txt"), "file3");
            Path dir3 = usersDir.resolve("dir3");
            Files.createDirectory(dir3);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        }
    
        /**
         * Returns whether SIDs (Security Identifiers) should be resolved.
         * @return true if SIDs should be resolved, false otherwise
         */
        public boolean isResolveSids() {
            return resolveSids;
        }
    
        /**
         * Sets whether SIDs (Security Identifiers) should be resolved.
         * @param resolveSids true to resolve SIDs, false otherwise
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (3)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
         *  XPath namespace prefixes are resolved from the contextNode.
         *
         *  @param contextNode The node to start searching from.
         *  @param expression A valid XPath string.
         *  @return A XPathNodes, should never be null.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java

        public RequestBuilder(final Client client, final Req request) {
            this.client = client;
            this.request = request;
        }
    
        /**
         * Executes the request.
         * @return A Promise that will be resolved with the response or rejected with an error.
         */
        public Deferred<Res>.Promise execute() {
            return request.execute(client);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top