Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal | |
okhttp3.internal.connection | |
okhttp3.internal.http | |
okhttp3.internal.ws |
Modifier and Type | Field and Description |
---|---|
(package private) Exchange |
Response.exchange |
(package private) Exchange |
Response.Builder.exchange |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Response.Builder.initExchange(Exchange deferredTrailers) |
Modifier and Type | Method and Description |
---|---|
abstract Exchange |
Internal.exchange(Response response) |
Modifier and Type | Method and Description |
---|---|
abstract void |
Internal.initExchange(Response.Builder responseBuilder,
Exchange exchange) |
Modifier and Type | Field and Description |
---|---|
private Exchange |
Transmitter.exchange |
Modifier and Type | Method and Description |
---|---|
(package private) Exchange |
Transmitter.newExchange(Interceptor.Chain chain,
boolean doExtensiveHealthChecks)
Returns a new exchange to carry a new request and response.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.io.IOException |
Transmitter.exchangeMessageDone(Exchange exchange,
boolean requestDone,
boolean responseDone,
java.io.IOException e)
Releases resources held with the request or response of
exchange . |
(package private) RealWebSocket.Streams |
RealConnection.newWebSocketStreams(Exchange exchange) |
Modifier and Type | Field and Description |
---|---|
private Exchange |
RealInterceptorChain.exchange |
Modifier and Type | Method and Description |
---|---|
Exchange |
RealInterceptorChain.exchange() |
Modifier and Type | Method and Description |
---|---|
Response |
RealInterceptorChain.proceed(Request request,
Transmitter transmitter,
Exchange exchange) |
Constructor and Description |
---|
RealInterceptorChain(java.util.List<Interceptor> interceptors,
Transmitter transmitter,
Exchange exchange,
int index,
Request request,
Call call,
int connectTimeout,
int readTimeout,
int writeTimeout) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
RealWebSocket.checkUpgradeSuccess(Response response,
Exchange exchange) |