Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal.connection | |
okhttp3.internal.http |
Modifier and Type | Field and Description |
---|---|
private Transmitter |
RealCall.transmitter
There is a cycle between the
Call and Transmitter that makes this awkward. |
Modifier and Type | Field and Description |
---|---|
private Transmitter |
ExchangeFinder.transmitter |
(package private) Transmitter |
Exchange.transmitter |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<java.lang.ref.Reference<Transmitter>> |
RealConnection.transmitters
Current calls carried by this connection.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
RealConnectionPool.transmitterAcquirePooledConnection(Address address,
Transmitter transmitter,
java.util.List<Route> routes,
boolean requireMultiplexed)
Attempts to acquire a recycled connection to
address for transmitter . |
Constructor and Description |
---|
Exchange(Transmitter transmitter,
Call call,
EventListener eventListener,
ExchangeFinder finder,
ExchangeCodec codec) |
ExchangeFinder(Transmitter transmitter,
RealConnectionPool connectionPool,
Address address,
Call call,
EventListener eventListener) |
TransmitterReference(Transmitter referent,
java.lang.Object callStackTrace) |
Modifier and Type | Field and Description |
---|---|
private Transmitter |
RealInterceptorChain.transmitter |
Modifier and Type | Method and Description |
---|---|
Transmitter |
RealInterceptorChain.transmitter() |
Modifier and Type | Method and Description |
---|---|
Response |
RealInterceptorChain.proceed(Request request,
Transmitter transmitter,
Exchange exchange) |
private boolean |
RetryAndFollowUpInterceptor.recover(java.io.IOException e,
Transmitter transmitter,
boolean requestSendStarted,
Request userRequest)
Report and attempt to recover from a failure to communicate with a server.
|
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) |