Package | Description |
---|---|
com.squareup.okhttp | |
com.squareup.okhttp.internal.http |
Modifier and Type | Method and Description |
---|---|
static ResponseSource |
ResponseSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseSource[] |
ResponseSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
OkResponseCache.trackResponse(ResponseSource source)
Track an HTTP response being satisfied by
source . |
Modifier and Type | Method and Description |
---|---|
ResponseSource |
ResponseHeaders.chooseResponseSource(long nowMillis,
RequestHeaders request)
Returns the source to satisfy
request given this cached response. |
Modifier and Type | Method and Description |
---|---|
void |
ResponseHeaders.setResponseSource(ResponseSource responseSource) |
void |
OkResponseCacheAdapter.trackResponse(ResponseSource source) |
Copyright © 2014. All rights reserved.