Uses of Class
com.squareup.okhttp.ResponseSource
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal.http |
-
Uses of ResponseSource in com.squareup.okhttp
Methods in com.squareup.okhttp that return ResponseSource Modifier and Type Method Description static ResponseSourceResponseSource. 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.Methods in com.squareup.okhttp with parameters of type ResponseSource Modifier and Type Method Description voidOkResponseCache. trackResponse(ResponseSource source)Track an HTTP response being satisfied bysource. -
Uses of ResponseSource in com.squareup.okhttp.internal.http
Methods in com.squareup.okhttp.internal.http that return ResponseSource Modifier and Type Method Description ResponseSourceResponseHeaders. chooseResponseSource(long nowMillis, RequestHeaders request)Returns the source to satisfyrequestgiven this cached response.Methods in com.squareup.okhttp.internal.http with parameters of type ResponseSource Modifier and Type Method Description voidResponseHeaders. setResponseSource(ResponseSource responseSource)voidOkResponseCacheAdapter. trackResponse(ResponseSource source)