Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IdnDnsResolver (0.1 sec)

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

    import java.io.UnsupportedEncodingException;
    import java.net.IDN;
    import java.net.InetAddress;
    import java.net.URLDecoder;
    import java.net.UnknownHostException;
    
    import org.apache.http.conn.DnsResolver;
    
    public class IdnDnsResolver implements DnsResolver {
    
        protected int flag = 0;
    
        protected String encoding = "UTF-8";
    
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

    package org.codelibs.fess.crawler.client.http.conn;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    public class IdnDnsResolverTest extends PlainTestCase {
    
        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";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

    import org.codelibs.fess.crawler.CrawlerContext;
    import org.codelibs.fess.crawler.client.AbstractCrawlerClient;
    import org.codelibs.fess.crawler.client.AccessTimeoutTarget;
    import org.codelibs.fess.crawler.client.http.conn.IdnDnsResolver;
    import org.codelibs.fess.crawler.client.http.form.FormScheme;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.RobotsTxt;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top