| Modifier and Type | Field and Description |
|---|---|
Request |
RealCall.originalRequest
The application's original request unadulterated by redirects or auth headers.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
Request.Builder.build() |
Request |
Call.request() |
Request |
Response.request() |
Request |
RealCall.request() |
Request |
RealCall.AsyncCall.request() |
| Modifier and Type | Method and Description |
|---|---|
Call |
Call.Factory.newCall(Request request) |
Call |
Client.newCall(Request request) |
WebSocket |
Client.newWebSocket(Request request,
SocketListener listener) |
abstract Call |
Internal.newWebSocketCall(Client client,
Request request) |
Response.Builder |
Response.Builder.request(Request 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 |
|---|---|
Response |
InternalCache.get(Request request) |
static boolean |
CacheStrategy.isCacheable(Response response,
Request request) |
void |
InternalCache.remove(Request request) |
| Constructor and Description |
|---|
Factory(long nowMillis,
Request request,
Response cacheResponse) |
| Modifier and Type | Method and Description |
|---|---|
Request |
RealInterceptorChain.request() |
| Modifier and Type | Method and Description |
|---|---|
Sink |
HttpCodec.createRequestBody(Request request,
long contentLength) |
static String |
RequestLine.get(Request request,
Proxy.Type proxyType) |
Response |
RealInterceptorChain.proceed(Request request) |
Response |
RealInterceptorChain.proceed(Request request,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection) |
static boolean |
HttpHeaders.varyMatches(Response cachedResponse,
Headers cachedRequest,
Request newRequest) |
void |
HttpCodec.writeRequestHeaders(Request request) |
| Constructor and Description |
|---|
RealInterceptorChain(List<Interceptor> interceptors,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection,
int index,
Request request,
Call call,
EventListener eventListener,
int connectTimeout,
int readTimeout,
int writeTimeout) |
| Modifier and Type | Method and Description |
|---|---|
Sink |
Http1Codec.createRequestBody(Request request,
long contentLength) |
void |
Http1Codec.writeRequestHeaders(Request request) |
| Modifier and Type | Method and Description |
|---|---|
Sink |
Http2Codec.createRequestBody(Request request,
long contentLength) |
static List<Header> |
Http2Codec.http2HeadersList(Request request) |
void |
Http2Codec.writeRequestHeaders(Request request) |
| Modifier and Type | Method and Description |
|---|---|
Request |
Authenticator.authenticate(Route route,
Response response) |
Request |
Interceptor.Chain.request() |
| Modifier and Type | Method and Description |
|---|---|
Response |
Interceptor.Chain.proceed(Request request) |
void |
EventListener.requestHeadersEnd(Call call,
Request request) |
| Modifier and Type | Method and Description |
|---|---|
Request |
WebSocket.request() |
Request |
RealWebSocket.request() |
| Modifier and Type | Method and Description |
|---|---|
WebSocket |
WebSocket.Factory.newWebSocket(Request request,
SocketListener listener) |
| Constructor and Description |
|---|
RealWebSocket(Request request,
SocketListener listener,
Random random,
long pingIntervalMillis) |
Copyright © 2019. All rights reserved.