Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 50 for Interceptor (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      /**
       * The request that initiated this HTTP response. This is not necessarily the same request issued
       * by the application:
       *
       * * It may be transformed by the user's interceptors. For example, an application interceptor
       *   may add headers like `User-Agent`.
       * * It may be the request generated in response to an HTTP redirect or authentication
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            "Expected 'Sec-WebSocket-Accept' header value '$acceptExpected' but was '$headerAccept'",
          )
        }
    
        return response.socket
          ?: throw ProtocolException("Web Socket socket missing: bad interceptor?")
      }
    
      /**
       * This accepts a [BufferedSource] instead of using [Socket.source], just in case we've already
       * received data from the peer. This accepts a [BufferedSink] for symmetry with the source.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/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 {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  5. docs/assets/images/interceptors@2x.png

    interceptors@2x.png...
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 83.7K bytes
    - Click Count (0)
  6. mkdocs.yml

            'calls.md': 'features/calls.md'
            'connections.md': 'features/connections.md'
            'events.md': 'features/events.md'
            'https.md': 'features/events.md'
            'interceptors.md': 'features/interceptors.md'
            'r8_proguard.md': 'features/r8_proguard.md'
            # Redirect all Security pages to security/*
            'security.md': 'security/security.md'
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Nov 21 07:19:31 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

    Cleanup_ for a safe and fast upgrade.
    
    
    Backwards-Incompatible Changes
    ------------------------------
    
    #### OkHttpClient final methods
    
    `OkHttpClient` has 26 accessors like `interceptors()` and `writeTimeoutMillis()` that were non-final
    in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

    import okio.IOException
    import org.junit.jupiter.api.Assertions
    
    internal open class RecordingConnectionListener(
      /**
       * An override to ignore the normal order that is enforced.
       * EventListeners added by Interceptors will not see all events.
       */
      private val enforceOrder: Boolean = true,
    ) : ConnectionListener() {
      val eventSequence: Deque<ConnectionEvent> = ConcurrentLinkedDeque()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          address = address,
          proxy = proxy,
          socketAddress = socketAddress,
        )
    
      fun newChain(call: RealCall): RealInterceptorChain =
        RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
          request = call.request(),
          connectTimeoutMillis = 10_000,
          readTimeoutMillis = 10_000,
          writeTimeoutMillis = 10_000,
        )
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 224K bytes
    - Click Count (0)
Back to Top