Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for zOrder (0.16 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

      private final OkHttpClient client;
    
      public CustomCipherSuites() throws GeneralSecurityException {
        // Configure cipher suites to demonstrate how to customize which cipher suites will be used for
        // an OkHttp request. In order to be selected a cipher suite must be included in both OkHttp's
        // connection spec and in the SSLSocket's enabled cipher suites array. Most applications should
        // not customize the cipher suites list.
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

       * them, so the CN is unused.
       */
      @Test fun verifyNonAsciiSubjectAlt() {
        // Expecting actual:
        //  ["bar.com", "花子.co.jp"]
        // to contain exactly (and in same order):
        //  ["bar.com", "������.co.jp"]
        platform.assumeNotBouncyCastle()
    
        // CN=foo.com, subjectAlt=bar.com, subjectAlt=花子.co.jp
        // (hanako.co.jp in kanji)
        val session =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

      private lateinit var serverIpv6: MockWebServer
    
      private val listener = RecordingEventListener()
      private lateinit var client: OkHttpClient
      private lateinit var url: HttpUrl
    
      /**
       * This is mutable and order matters. By default, it contains [IPv4, IPv6]. Tests may manipulate
       * it to prefer IPv6.
       */
      private var dnsResults = listOf<InetAddress>()
    
      @BeforeEach
      internal fun setUp() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  New: Make `ResponseBody.string()` and `ResponseBody.charStream()` BOM-aware. If your HTTP
        response body begins with a [byte order mark][bom] it will be consumed and used to select a
        charset for the remaining bytes. Most applications should not need a byte order mark.
    
     *  New: Upgrade to Okio 1.11.0.
    
         ```xml
         <dependency>
           <groupId>com.squareup.okio</groupId>
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

          ErrorCode.fromHttp2(errorCodeInt) ?: throw IOException(
            "TYPE_GOAWAY unexpected error code: $errorCodeInt",
          )
        var debugData = ByteString.EMPTY
        if (opaqueDataLength > 0) { // Must read debug data in order to not corrupt the connection.
          debugData = source.readByteString(opaqueDataLength.toLong())
        }
        handler.goAway(lastStreamId, errorCode, debugData)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/CertificatePinner;->withCertificateChainCleaner$okhttp(Lokhttp3/internal/tls/CertificateChainCleaner;)Lokhttp3/CertificatePinner;
    HSPLokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1;-><init>()V
    HSPLokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
    HSPLokhttp3/CipherSuite$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ### IDNA Mapping and Punycode encoding
     *
     * Hostnames have different requirements and use a different encoding scheme. It consists of IDNA
     * mapping and Punycode encoding.
     *
     * In order to avoid confusion and discourage phishing attacks, [IDNA Mapping][idna] transforms
     * names to avoid confusing characters. This includes basic case folding: transforming shouting
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. regression-test/build.gradle.kts

    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android.regression"
    
      defaultConfig {
        minSdk = 21
        targetSdk = 34
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

     *  * dnsjava Resolver
     *
     * Implementations of this interface must be safe for concurrent use.
     */
    @ExperimentalOkHttpApi
    interface AsyncDns {
      /**
       * Query DNS records for `hostname`, in the order they are received.
       */
      fun query(
        hostname: String,
        callback: Callback,
      )
    
      /**
       * Callback to receive results from the DNS Queries.
       */
      @ExperimentalOkHttpApi
    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)
  10. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

    import okio.ByteString;
    
    /**
     * Runs a MockWebServer on localhost and uses it as the backend to receive an OAuth session.
     *
     * <p>Clients should call {@link #start}, {@link #newAuthorizeUrl} and {@link #close} in that order.
     * Clients may request multiple sessions.
     */
    public final class OAuthSessionFactory extends Dispatcher implements Closeable {
      private final SecureRandom secureRandom = new SecureRandom();
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Viewed (0)
Back to top