Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for HostName (0.48 sec)

  1. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
  2. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

     */
    
    public class UniAddress implements Address {
    
        /**
         * Check whether a hostname is actually an ip address
         * 
         * @param hostname
         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP ( String hostname ) {
            if ( Character.isDigit(hostname.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  4. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

      val hostname = "local.host"
      private val handshakeCertificates =
        run {
          // Generate a self-signed cert for the server to serve and the client to trust.
          val heldCertificate =
            HeldCertificate.Builder()
              .commonName(hostname)
              .addSubjectAlternativeName(hostname)
              .build()
          HandshakeCertificates.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/BsFileAuthentication.java

            this.fileConfigId = value;
        }
    
        public String getHostname() {
            checkSpecifiedProperty("hostname");
            return convertEmptyToNull(hostname);
        }
    
        public void setHostname(String value) {
            registerModifiedProperty("hostname");
            this.hostname = value;
        }
    
        public String getParameters() {
            checkSpecifiedProperty("parameters");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NameServiceClient.java

        /**
         * Lookup addresses for the given <tt>hostname</tt>.
         * 
         * @param hostname
         * @param possibleNTDomainOrWorkgroup
         * @return found addresses
         * @throws UnknownHostException
         */
        Address[] getAllByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException;
    
    
        /**
         * Lookup <tt>hostname</tt> and return it's <tt>UniAddress</tt>. If the
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java

        /**
         * Set the value of hostname, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<@JvmSuppressWildcards Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        socketAdapters.find { it.matchesSocket(sslSocket) }
          ?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  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 May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top