Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
Modifier and Type | Field and Description |
---|---|
(package private) Cache |
OkHttpClient.cache |
(package private) Cache |
OkHttpClient.Builder.cache |
Modifier and Type | Method and Description |
---|---|
Cache |
OkHttpClient.cache() |
Modifier and Type | Method and Description |
---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.cache(Cache cache)
Sets the response cache to be used to read and write cached responses.
|