Modifier and Type | Method and Description |
---|---|
List<Interceptor> |
OkHttpClient.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.networkInterceptors()
Returns a modifiable list of interceptors that observe a single network request and response.
|
Copyright © 2016. All Rights Reserved.