| Modifier and Type | Method | Description |
|---|---|---|
List<Interceptor> |
OkHttpClient.Builder.interceptors() |
Returns a modifiable list of interceptors that observe the full span of each call: from
before the connection is established (if any) until after the response source is selected
(either the origin server, cache, or both).
|
List<Interceptor> |
OkHttpClient.interceptors() |
Returns an immutable list of interceptors that observe the full span of each call: from before
the connection is established (if any) until after the response source is selected (either the
origin server, cache, or both).
|
List<Interceptor> |
OkHttpClient.Builder.networkInterceptors() |
Returns a modifiable list of interceptors that observe a single network request and response.
|
List<Interceptor> |
OkHttpClient.networkInterceptors() |
Returns an immutable list of interceptors that observe a single network request and response.
|
| Modifier and Type | Method | Description |
|---|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.addInterceptor(Interceptor interceptor) |
|
OkHttpClient.Builder |
OkHttpClient.Builder.addNetworkInterceptor(Interceptor interceptor) |
Copyright © 2020. All rights reserved.