| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.cache |
| Modifier and Type | Method and Description |
|---|---|
CacheControl |
Request.cacheControl() |
CacheControl |
Response.cacheControl() |
| Modifier and Type | Method and Description |
|---|---|
Request.Builder |
Request.Builder.cacheControl(CacheControl cacheControl) |
| Modifier and Type | Field and Description |
|---|---|
static CacheControl |
CacheControl.FORCE_CACHE
Cache control request directives that uses the cache only, even if the cached response is
stale.
|
static CacheControl |
CacheControl.FORCE_NETWORK
Cache control request directives that require network validate of responses.
|
| Modifier and Type | Method and Description |
|---|---|
CacheControl |
CacheControl.Builder.build() |
static CacheControl |
CacheControl.parse(Headers headers) |
Copyright © 2019. All rights reserved.