Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 279 for HOSTNAME (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt

        server.enqueue(MockResponse())
    
        val clientCertificates =
          HandshakeCertificates
            .Builder()
            .addPlatformTrustedCertificates()
            .addInsecureHost(server.hostName)
            .build()
    
        val client =
          clientTestRule
            .newClientBuilder()
            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)
            .build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

      @SuppressSignatureCheck
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
        val certificates = (chain as List<X509Certificate>).toTypedArray()
        try {
          return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname)
        } catch (ce: CertificateException) {
          throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) }
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

    ```kotlin
    val client = OkHttpClient.Builder()
        .dns { hostname -> InetAddress.getAllByName(hostname).toList() }
        .build()
    ```
    
    Kotlin calling OkHttp 4.x:
    
    ```kotlin
    val client = OkHttpClient.Builder()
        .dns(object : Dns {
          override fun lookup(hostname: String) =
              InetAddress.getAllByName(hostname).toList()
        })
        .build()
    ```
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

        }
    
        public void test_resolve_hostname() throws UnknownHostException {
            IdnDnsResolver resolver = new IdnDnsResolver();
    
            // Test localhost hostname
            String host = "localhost";
            InetAddress[] addresses = resolver.resolve(host);
            assertNotNull(addresses);
            assertTrue(addresses.length > 0);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt

     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
        return listOf(addresses[0], addresses[0])
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NbtAddressTest.java

            // Test getHostName when hostname is known
            mockName = new Name(mockConfig, "KNOWNHOST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertEquals("KNOWNHOST", nbtAddress.getHostName());
        }
    
        @Test
        void testGetHostName_UnknownHost() {
            // Test getHostName when hostname is unknown, should return IP address
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                final int localPort, final String hostName, final boolean nonPooled) {
            return getSmbTransport(tc, address, port, localAddr, localPort, hostName, nonPooled, false);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, int port, final InetAddress localAddr,
                final int localPort, final String hostName, final boolean nonPooled, final boolean forceSigning) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/UniAddressTest.java

                assertTrue(UniAddress.isDotQuadIP(ip));
            }
    
            @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}")
            @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" })
            void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) {
                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

     * This service provides functionality to create, read, update, and delete
     * 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
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

            return new TcpRdmaConnection(remote, local);
        }
    
        @Override
        public RdmaConnection connect(String hostname, int port) throws IOException {
            InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port);
            RdmaConnection connection = createConnection(remoteAddress, null);
            connection.connect();
            return connection;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top