| Package | Description |
|---|---|
| okhttp3 |
| Modifier and Type | Method and Description |
|---|---|
List |
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 |
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 |
OkHttpClient.networkInterceptors()
Returns an immutable list of interceptors that observe a single network request and response.
|
List |
OkHttpClient.Builder.networkInterceptors()
Returns a modifiable list of interceptors that observe a single network request and response.
|
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient |
OkHttpClient.Builder.addInterceptor(Interceptor
|
OkHttpClient |
OkHttpClient.Builder.addNetworkInterceptor(Interceptor
|