| Package | Description |
|---|---|
| okhttp3 | |
| okhttp3.internal | |
| okhttp3.internal.http |
| Modifier and Type | Method and Description |
|---|---|
Request |
Authenticator.authenticate(Route
Returns a request that includes a credential to satisfy an authentication challenge in
response.
|
Request |
Request.Builder.build()
|
Request |
Interceptor.Chain.request()
|
Request |
Response.request()
The wire-level request that initiated this HTTP response.
|
Request |
Call.request()
Returns the original request that initiated this call.
|
| Modifier and Type | Method and Description |
|---|---|
Call |
OkHttpClient.newCall(Request
Prepares the
request to be executed at some point in the future.
|
Call |
Call.Factory.newCall(Request
|
Response |
Interceptor.Chain.proceed(Request
|
Response |
Response.Builder.request(Request
|
| Modifier and Type | Method and Description |
|---|---|
Response |
InternalCache.get(Request
|
void |
InternalCache.remove(Request
Remove any cache entries for the supplied
request.
|
| Modifier and Type | Field and Description |
|---|---|
Request |
CacheStrategy.networkRequest
The request to send on the network, or null if this call doesn't use the network.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
HttpEngine.followUpRequest()
Figures out the HTTP request to make in response to receiving this engine's response.
|
Request |
HttpEngine.getRequest()
|
| Modifier and Type | Method and Description |
|---|---|
static long |
OkHeaders.contentLength(Request
|
okio |
Http2xStream.createRequestBody(Request
|
okio |
Http1xStream.createRequestBody(Request
|
okio |
HttpStream.createRequestBody(Request
Returns an output stream where the request body can be streamed.
|
static List |
Http2xStream.http2HeadersList(Request
|
static boolean |
CacheStrategy.isCacheable(Response
Returns true if
response can be stored to later serve another request.
|
static List |
Http2xStream.spdy3HeadersList(Request
Returns a list of alternating names and values containing a SPDY request.
|
static boolean |
OkHeaders.varyMatches(Response
Returns true if none of the Vary headers have changed between
cachedRequest and
newRequest.
|
void |
Http2xStream.writeRequestHeaders(Request
|
void |
Http1xStream.writeRequestHeaders(Request
Prepares the HTTP headers and sends them to the server.
|
void |
HttpStream.writeRequestHeaders(Request
This should update the HTTP engine's sentRequestMillis field.
|
| Constructor and Description | |
|---|---|
Factory(long nowMillis, Request
|
|
HttpEngine(OkHttpClient
|