Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for init (0.16 sec)

  1. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        keyManagerFactory.init(keystore, password.toCharArray());
    
        TrustManagerFactory trustManagerFactory =
            TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
        trustManagerFactory.init(keystore);
    
        SSLContext sslContext = SSLContext.getInstance("TLS");
        sslContext.init(
            keyManagerFactory.getKeyManagers(),
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Viewed (0)
  2. okhttp-urlconnection/api/okhttp-urlconnection.api

    public final class okhttp3/JavaNetAuthenticator : okhttp3/Authenticator {
    	public fun <init> ()V
    	public fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/JavaNetCookieJar : okhttp3/CookieJar {
    	public fun <init> (Ljava/net/CookieHandler;)V
    	public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List;
    	public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 26 19:17:33 GMT 2022
    - 423 bytes
    - Viewed (0)
  3. okhttp-android/api/okhttp-android.api

    public final class okhttp3/android/AndroidAsyncDns : okhttp3/AsyncDns {
    	public static final field Companion Lokhttp3/android/AndroidAsyncDns$Companion;
    	public fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;)V
    	public synthetic fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V
    }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 1.3K bytes
    - Viewed (1)
  4. mockwebserver-junit4/api/mockwebserver3-junit4.api

    public final class mockwebserver3/junit4/MockWebServerRule : org/junit/rules/ExternalResource {
    	public static final field Companion Lmockwebserver3/junit4/MockWebServerRule$Companion;
    	public fun <init> ()V
    	public final fun getServer ()Lmockwebserver3/MockWebServer;
    }
    
    public final class mockwebserver3/junit4/MockWebServerRule$Companion {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 26 19:17:33 GMT 2022
    - 346 bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val connectTimeout: Int by option(
        "--connect-timeout",
        help = "Maximum time allowed for connection (seconds)",
      ).int().default(DEFAULT_TIMEOUT)
    
      val readTimeout: Int by option("--read-timeout", help = "Maximum time allowed for reading data (seconds)").int().default(DEFAULT_TIMEOUT)
    
      val callTimeout: Int by option(
        "--call-timeout",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

            break
          }
          sink.writeByte(node.symbol)
          accumulatorBitCount -= node.terminalBitCount
          node = root
        }
      }
    
      private fun addCode(
        symbol: Int,
        code: Int,
        codeBitCount: Int,
      ) {
        val terminal = Node(symbol, codeBitCount)
    
        var accumulatorBitCount = codeBitCount
        var node = root
        while (accumulatorBitCount > 8) {
          accumulatorBitCount -= 8
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

        fun connectTimeoutMillis(): Int
    
        fun withConnectTimeout(
          timeout: Int,
          unit: TimeUnit,
        ): Chain
    
        fun readTimeoutMillis(): Int
    
        fun withReadTimeout(
          timeout: Int,
          unit: TimeUnit,
        ): Chain
    
        fun writeTimeoutMillis(): Int
    
        fun withWriteTimeout(
          timeout: Int,
          unit: TimeUnit,
        ): Chain
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          )
      }
    
      return SimpleIdnaMappingTable(result)
    }
    
    internal data class Mapping(
      val sourceCodePoint0: Int,
      val sourceCodePoint1: Int,
      val type: Int,
      val mappedTo: ByteString,
    ) {
      val section: Int
        get() = sourceCodePoint0 and 0x1fff80
    
      val rangeStart: Int
        get() = sourceCodePoint0 and 0x7f
    
      val hasSingleSourceCodePoint: Boolean
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

            ?.value
        }
    
      val organizationalUnitName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.ORGANIZATIONAL_UNIT_NAME }
            ?.value
        }
    
      val subjectAlternativeNames: Extension?
        get() {
          return tbsCertificate.extensions.firstOrNull {
            it.id == ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME
          }
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

        val codepointDelta: Int,
      ) : MappedRange {
        private val absoluteDelta = abs(codepointDelta)
    
        val b1: Int
          get() =
            when {
              codepointDelta < 0 -> 0x40 or (absoluteDelta shr 14)
              codepointDelta > 0 -> 0x50 or (absoluteDelta shr 14)
              else -> error("Unexpected codepointDelta of 0")
            }
    
        val b2: Int
          get() = absoluteDelta shr 7 and 0x7f
    
        val b3: Int
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top