Package | Description |
---|---|
com.squareup.okhttp | |
com.squareup.okhttp.logging |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpLoggingInterceptor
An OkHttp interceptor which logs request and response information.
|
Copyright © 2016. All rights reserved.