Modifier and Type | Method and Description |
---|---|
Response |
Response.Builder.build() |
Response |
Response.cacheResponse()
Returns the raw response received from the cache.
|
Response |
Call.execute()
Invokes the request immediately, and blocks until the response can be
processed or is in error.
|
Response |
Interceptor.intercept(Interceptor.Chain chain) |
Response |
Response.networkResponse()
Returns the raw response received from the network.
|
Response |
Response.priorResponse()
Returns the response for the HTTP redirect or authorization challenge that
triggered this response, or null if this response wasn't triggered by an
automatic retry.
|
Response |
Interceptor.Chain.proceed(Request request) |
Modifier and Type | Method and Description |
---|---|
Request |
Authenticator.authenticate(Proxy proxy,
Response response)
Returns a request that includes a credential to satisfy an authentication
challenge in
response . |
Request |
Authenticator.authenticateProxy(Proxy proxy,
Response response)
Returns a request that includes a credential to satisfy an authentication
challenge made by
response . |
Response.Builder |
Response.Builder.cacheResponse(Response cacheResponse) |
Response.Builder |
Response.Builder.networkResponse(Response networkResponse) |
void |
Callback.onResponse(Response response)
Called when the HTTP response was successfully returned by the remote
server.
|
Response.Builder |
Response.Builder.priorResponse(Response priorResponse) |
Copyright © 2016. All Rights Reserved.