- createHeaders
Returns headers for the header names and values in the Map.
- createJavaCacheRequest
- createJavaCacheResponse
Creates a java.net.CacheResponse of the correct (sub)type using information
gathered from the suppli
- createJavaUrlConnectionForCachePut
Creates an java.net.HttpURLConnection of the correct subclass from the supplied
OkHttp Response.
- createOkBody
Creates an OkHttp Response.Body containing the supplied information.
- createOkRequest
Creates an OkHttp Request from the supplied information.This method allows a
null value for requestH
- createOkResponseForCacheGet
Creates an OkHttp Response using the supplied Request and CacheResponseto supply
the data.
- createOkResponseForCachePut
Creates an OkHttp Response using the supplied URI and URLConnection to supply
the data. The URLConne
- extractJavaHeaders
Extracts an immutable request header map from the supplied Headers.
- extractOkHeaders
Extracts OkHttp headers from the supplied Map. Only real headers are extracted.
Any entry (one with
- extractOkResponseHeaders
Extracts OkHttp headers from the supplied java.net.HttpURLConnection. Only real
headers are extracte
- extractStatusLine