Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 217 for Hostnames (0.09 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            }
        }
    
        // Test with different hostnames
        @Test
        public void test_differentHostnames() {
            String[] hostnames = { "smtp.gmail.com", "mail.example.com", "localhost", "192.168.1.1" };
    
            for (String hostname : hostnames) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

     * crawling from duplicate hostnames to the regular canonical hostname.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /** The CRUD operation mode for form processing */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /** The regular canonical hostname that should be used */
        @Required
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

        // https://github.com/bcgit/bc-java/issues/1773
        if (!platform.isBouncyCastle()) {
          assertThat(recordedRequest.handshakeServerNames).containsExactly(url.host)
        }
      }
    
      /**
       * Use different hostnames for the TLS handshake (including SNI) and the HTTP request (in the
       * Host header).
       */
      @Test
      fun domainFronting() {
        val heldCertificate =
          HeldCertificate
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      private final Set<HttpUrl> fetchedUrls = Collections.synchronizedSet(new LinkedHashSet<>());
      private final BlockingQueue<HttpUrl> queue;
      private final ConcurrentHashMap<String, AtomicInteger> hostnames = new ConcurrentHashMap<>();
      private final int hostLimit;
    
      public Crawler(OkHttpClient client, int queueLimit, int hostLimit) {
        this.client = client;
        this.queue = new LinkedBlockingQueue<>(queueLimit);
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        }
      }
    
      /** Returns true if [certificate] matches [hostname]. */
      private fun verifyHostname(
        hostname: String,
        certificate: X509Certificate,
      ): Boolean {
        val hostname = hostname.asciiToLowercase()
        return getSubjectAltNames(certificate, ALT_DNS_NAME).any {
          verifyHostname(hostname, it)
        }
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/middleware.md

    The following arguments are supported:
    
    * `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains. To allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

     * <p>
     * This class should be used in favor of {@code InetAddress} to resolve
     * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and
     * DNS resolvable hosts.
     */
    
    public class UniAddress implements Address {
    
        /**
         * Check whether a hostname is actually an ip address
         *
         * @param hostname the hostname to check
         * @return whether this is an IP address
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            // IPv4 addresses - should remain unchanged
            assertEquals("127.0.0.1", IpAddressUtil.formatForUrl("127.0.0.1"));
            assertEquals("192.168.1.1", IpAddressUtil.formatForUrl("192.168.1.1"));
    
            // Hostnames - should remain unchanged
            assertEquals("localhost", IpAddressUtil.formatForUrl("localhost"));
            assertEquals("example.com", IpAddressUtil.formatForUrl("example.com"));
    
            // Null
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing duplicate host configurations in the Fess search system.
     * This class handles URL conversion based on duplicate host rules, allowing multiple
     * hostnames or URLs to be treated as equivalent for crawling and indexing purposes.
     * It maintains a list of DuplicateHost rules and applies them to URLs.
     *
     */
    public class DuplicateHostHelper {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

     * duplicate host configurations used by the Fess crawler system.
     *
     * <p>Duplicate host configurations allow administrators to define hostname patterns
     * that should be treated as equivalent during crawling. This helps avoid indexing
     * duplicate content from the same logical site that may be accessible via different
     * hostnames (e.g., www.example.com and example.com).</p>
     */
    public class DuplicateHostService extends FessAppService {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top