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 EventListener |
RealCall.eventListener
There is a cycle between the
Call and EventListener that makes this awkward. |
static EventListener |
EventListener.NONE |
Modifier and Type | Method and Description |
---|---|
EventListener |
EventListener.Factory.create(Call call)
Creates an instance of the
EventListener for a particular Call . |
Modifier and Type | Method and Description |
---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.eventListener(EventListener eventListener)
Configure a single client scoped listener that will receive all analytic events
for this client.
|
(package private) static EventListener.Factory |
EventListener.factory(EventListener listener) |
Modifier and Type | Field and Description |
---|---|
private EventListener |
RouteSelector.eventListener |
EventListener |
StreamAllocation.eventListener |
Modifier and Type | Method and Description |
---|---|
void |
RealConnection.connect(int connectTimeout,
int readTimeout,
int writeTimeout,
int pingIntervalMillis,
boolean connectionRetryEnabled,
Call call,
EventListener eventListener) |
private void |
RealConnection.connectSocket(int connectTimeout,
int readTimeout,
Call call,
EventListener eventListener)
Does all the work necessary to build a full HTTP or HTTPS connection on a raw socket.
|
private void |
RealConnection.connectTunnel(int connectTimeout,
int readTimeout,
int writeTimeout,
Call call,
EventListener eventListener)
Does all the work to build an HTTPS connection over a proxy tunnel.
|
private void |
RealConnection.establishProtocol(ConnectionSpecSelector connectionSpecSelector,
int pingIntervalMillis,
Call call,
EventListener eventListener) |
Constructor and Description |
---|
RouteSelector(Address address,
RouteDatabase routeDatabase,
Call call,
EventListener eventListener) |
StreamAllocation(ConnectionPool connectionPool,
Address address,
Call call,
EventListener eventListener,
java.lang.Object callStackTrace) |
Modifier and Type | Field and Description |
---|---|
private EventListener |
RealInterceptorChain.eventListener |
Modifier and Type | Method and Description |
---|---|
EventListener |
RealInterceptorChain.eventListener() |
Constructor and Description |
---|
RealInterceptorChain(java.util.List<Interceptor> interceptors,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection,
int index,
Request request,
Call call,
EventListener eventListener,
int connectTimeout,
int readTimeout,
int writeTimeout) |