Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for HostName (0.18 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          buildRequest(hostname, networkRequests, results, failures, DnsRecordCodec.TYPE_AAAA)
        }
    
        executeRequests(hostname, networkRequests, results, failures)
    
        return results.ifEmpty {
          throwBestFailure(hostname, failures)
        }
      }
    
      private fun buildRequest(
        hostname: String,
        networkRequests: MutableList<Call>,
        results: MutableList<InetAddress>,
        failures: MutableList<Exception>,
        type: Int,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

         *
         * @param hostname NetBIOS or DNS hostname to resolve
         * @throws java.net.UnknownHostException if there is an error resolving the name
         */
    
        public static UniAddress getByName( String hostname )
                                            throws UnknownHostException {
            return getByName( hostname, false );
        }
    
        static boolean isDotQuadIP( String hostname ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        @Override
        public UniAddress getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
            return getAllByName(hostname, possibleNTDomainOrWorkgroup)[ 0 ];
        }
    
    
        @Override
        public UniAddress[] getAllByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
            if ( hostname == null || hostname.length() == 0 ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  4. okhttp/src/main/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)
        }
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

            .serialNumber(2L)
            .commonName(server.hostName)
            .addSubjectAlternativeName(server.hostName)
            .addSubjectAlternativeName("san.com")
            .addSubjectAlternativeName("*.wildcard.com")
            .addSubjectAlternativeName("differentdns.com")
            .build()
        serverIps = Dns.SYSTEM.lookup(server.hostName)
        dns[server.hostName] = serverIps
        dns["san.com"] = serverIps
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

      fun check(
        hostname: String,
        vararg peerCertificates: Certificate,
      ) {
        check(hostname, peerCertificates.toList())
      }
    
      /**
       * Returns list of matching certificates' pins for the hostname. Returns an empty list if the
       * hostname does not have pinned certificates.
       */
      fun findMatchingPins(hostname: String): List<Pin> = pins.filterList { matchesHostname(hostname) }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

          )
        assertThat(cleaner.clean(list(certB, certA), "hostname")).isEqualTo(
          list(certB, certA, trusted, selfSigned),
        )
        assertThat(cleaner.clean(list(certB, certA, trusted), "hostname")).isEqualTo(
          list(certB, certA, trusted, selfSigned),
        )
        assertThat(cleaner.clean(list(certB, certA, trusted, selfSigned), "hostname"))
          .isEqualTo(
            list(certB, certA, trusted, selfSigned),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            (byte)0x00, (byte)0x00, (byte)0x00
        };
    
        static final class CacheEntry {
            Name hostName;
            NbtAddress address;
            long expiration;
    
            CacheEntry( Name hostName, NbtAddress address, long expiration ) {
                this.hostName = hostName;
                this.address = address;
                this.expiration = expiration;
            }
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

          val inetAddress = socket.localAddress
    
          var hostname = inetAddress.hostName
          if (inetAddress is Inet6Address && hostname.contains(':')) {
            // hostname is likely some form representing the IPv6 bytes
            // 2001:0db8:85a3:0000:0000:8a2e:0370:7334
            // 2001:db8:85a3::8a2e:370:7334
            // ::1
            hostname = "[$hostname]"
          }
    
          val localPort = socket.localPort
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
  10. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

          Dns { hostname ->
            val allAddresses = mutableListOf<InetAddress>()
            val allExceptions = mutableListOf<IOException>()
            val latch = CountDownLatch(asyncDns.size)
    
            asyncDns.forEach {
              it.query(
                hostname,
                object : Callback {
                  override fun onResponse(
                    hostname: String,
                    addresses: List<InetAddress>,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top