Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for networkInterceptors (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

       * a network interceptor to short-circuit or repeat a network request.
       */
      @get:JvmName("networkInterceptors")
      val networkInterceptors: List<Interceptor> =
        builder.networkInterceptors.toImmutableList()
    
      @get:JvmName("eventListenerFactory")
      val eventListenerFactory: EventListener.Factory =
        builder.eventListenerFactory
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        original.newBuilder()
          .addInterceptor(interceptor)
          .addNetworkInterceptor(interceptor)
          .build()
        assertThat(original.interceptors.size).isEqualTo(0)
        assertThat(original.networkInterceptors.size).isEqualTo(0)
      }
    
      /**
       * When copying the client, stateful things like the connection pool are shared across all
       * clients.
       */
      @Test fun cloneSharesStatefulInstances() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val protocols: List<Protocol> = client.protocols()
        val connectionSpecs: List<ConnectionSpec> = client.connectionSpecs()
        val interceptors: List<Interceptor> = client.interceptors()
        val networkInterceptors: List<Interceptor> = client.networkInterceptors()
        val eventListenerFactory: EventListener.Factory = client.eventListenerFactory()
        val proxySelector: ProxySelector = client.proxySelector()
        val cookieJar: CookieJar = client.cookieJar()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val protocols: List<Protocol> = client.protocols
        val connectionSpecs: List<ConnectionSpec> = client.connectionSpecs
        val interceptors: List<Interceptor> = client.interceptors
        val networkInterceptors: List<Interceptor> = client.networkInterceptors
        val eventListenerFactory: EventListener.Factory = client.eventListenerFactory
        val proxySelector: ProxySelector = client.proxySelector
        val cookieJar: CookieJar = client.cookieJar
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

    import okio.Buffer
    import okio.GzipSource
    
    /**
     * An OkHttp interceptor which logs request and response information. Can be applied as an
     * [application interceptor][OkHttpClient.interceptors] or as a [OkHttpClient.networkInterceptors].
     *
     * The format of the logs created by this class should not be considered stable and may
     * change slightly between releases. If you need a stable logging format, use your own interceptor.
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        interceptors += BridgeInterceptor(client.cookieJar)
        interceptors += CacheInterceptor(client.cache)
        interceptors += ConnectInterceptor
        if (!forWebSocket) {
          interceptors += client.networkInterceptors
        }
        interceptors += CallServerInterceptor(forWebSocket)
    
        val chain =
          RealInterceptorChain(
            call = this,
            interceptors = interceptors,
            index = 0,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. okhttp/api/okhttp.api

    	public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier;
    	public final fun interceptors ()Ljava/util/List;
    	public final fun minWebSocketMessageToCompress ()J
    	public final fun networkInterceptors ()Ljava/util/List;
    	public fun newBuilder ()Lokhttp3/OkHttpClient$Builder;
    	public fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    	public fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

      private val networkLogs = LogRecorder()
      private val networkInterceptor = HttpLoggingInterceptor(networkLogs)
      private val applicationLogs = LogRecorder()
      private val applicationInterceptor = HttpLoggingInterceptor(applicationLogs)
      private var extraNetworkInterceptor: Interceptor? = null
    
      private fun setLevel(level: Level) {
        networkInterceptor.setLevel(level)
        applicationInterceptor.setLevel(level)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
Back to top