Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Interceptors (0.3 sec)

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

        // Capture the protocol as it is observed by the interceptor.
        val protocolRef = AtomicReference<Protocol?>()
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            protocolRef.set(chain.connection()!!.protocol())
            chain.proceed(chain.request())
          }
        client =
          client.newBuilder()
            .addNetworkInterceptor(interceptor)
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/extensions/elytron-security-properties-file/runtime/pom.xml
    	quarkus/extensions/smallrye-jwt/runtime/pom.xml
    	quarkus/test-framework/junit5/pom.xml
    quarkus/integration-tests/grpc-interceptors/pom.xml
    	quarkus/extensions/resteasy-reactive/quarkus-resteasy-reactive/runtime/pom.xml
    	quarkus/extensions/grpc/runtime/pom.xml
    	quarkus/test-framework/junit5/pom.xml
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 224K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        )
    
        // Seed the cache.
        val url = server.url("/")
        assertThat(get(url).body.string()).isEqualTo("A")
    
        // Confirm the interceptor isn't exercised.
        client =
          client.newBuilder()
            .addNetworkInterceptor(Interceptor { chain: Interceptor.Chain? -> throw AssertionError() })
            .build()
        assertThat(get(url).body.string()).isEqualTo("A")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http/BridgeInterceptor;-><init>(Lokhttp3/CookieJar;)V
    HSPLokhttp3/internal/http/BridgeInterceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    HSPLokhttp3/internal/http/CallServerInterceptor;-><init>(Z)V
    HSPLokhttp3/internal/http/CallServerInterceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    HSPLokhttp3/internal/http/HttpHeaders;-><clinit>()V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

       * as a **network interceptor**. It will strip the `Location` header of impacted responses to
       * prevent the redirect.
       *
       * ```
       * OkHttpClient client = client.newBuilder()
       *   .addNetworkInterceptor(new LegacyRedirectInterceptor())
       *   .build();
       * ```
       */
      internal class LegacyRedirectInterceptor : Interceptor {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top