Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for artist (0.16 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        )
        client =
          client.newBuilder()
            .protocols(Arrays.asList(Protocol.HTTP_1_1))
            .build()
        assertContent("A", getResponse(newRequest("/")))
      }
    
      @Test
      fun setProtocolsWithoutHttp11() {
        assertFailsWith<IllegalArgumentException> {
          OkHttpClient.Builder()
            .protocols(Arrays.asList(Protocol.HTTP_2))
        }
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val request = server.takeRequest()
        assertThat(request.body.readUtf8()).isEqualTo("request")
      }
    
      @Test
      fun testH2PriorKnowledgeServerFallback() {
        try {
          server.protocols = Arrays.asList(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

            newKeyManager(
              null,
              serverCert,
              serverIntermediateCa.certificate,
            )
          val trustManager =
            newTrustManager(
              null,
              Arrays.asList(serverRootCa.certificate, clientRootCa.certificate),
              emptyList(),
            )
          val sslContext = SSLContext.getInstance("TLS")
          sslContext.init(
            arrayOf<KeyManager>(keyManager),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

    import javax.net.ssl.X509TrustManager;
    import okhttp3.CipherSuite;
    import okhttp3.ConnectionSpec;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    import static java.util.Arrays.asList;
    
    public final class CustomCipherSuites {
      private final OkHttpClient client;
    
      public CustomCipherSuites() throws GeneralSecurityException {
    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)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

       */
      @Test
      @Throws(Exception::class)
      fun webSocketConnectionIsReleased() {
        // This test assumes HTTP/1.1 pooling semantics.
        client =
          client.newBuilder()
            .protocols(Arrays.asList(Protocol.HTTP_1_1))
            .build()
        webServer.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_NOT_FOUND)
            .body("not found!")
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ) {
        setUp(protocol, mockWebServer)
        val responseDequeuedLatches =
          Arrays.asList(
            CountDownLatch(1),
            // No synchronization for the last request, which is not canceled:
            CountDownLatch(1),
            CountDownLatch(0),
          )
        val requestCanceledLatches =
          Arrays.asList(
            CountDownLatch(1),
            CountDownLatch(1),
            CountDownLatch(0),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:
    
        ```
        OkHttpClient client = new OkHttpClient.Builder()
            .connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))
            .build();
        ```
    
     *  New: You can now access HTTP trailers with `Response.trailers()`. This method may only be called
        after the entire HTTP response body has been read.
    
    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)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/collections/AbstractMutableList;-><init>()V
    HSPLkotlin/collections/ArrayAsCollection;-><init>([Ljava/lang/Object;Z)V
    HSPLkotlin/collections/ArrayAsCollection;->toArray()[Ljava/lang/Object;
    HSPLkotlin/collections/ArraysKt___ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List;
    HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto$default([B[BIIII)[B
    HSPLkotlin/collections/ArraysKt___ArraysKt;->copyInto([B[BIII)[B
    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)
  9. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      fun responseBodyFailHttp1OverHttps() {
        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_1_1)
        responseBodyFail(Protocol.HTTP_1_1)
      }
    
      @Test
      fun responseBodyFailHttp2OverHttps() {
        platform.assumeHttp2Support()
        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        responseBodyFail(Protocol.HTTP_2)
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

        val certificatePinner =
          CertificatePinner.Builder()
            .add("example.com", certB1Sha256Pin)
            .build()
        certificatePinner.check(
          "example.com",
          Arrays.asList(certA1.certificate, certB1.certificate),
        )
      }
    
      @Test
      fun unsuccessfulCheck() {
        val certificatePinner =
          CertificatePinner.Builder()
            .add("example.com", certA1Sha256Pin)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top