Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal.connection | |
okhttp3.logging |
An OkHttp interceptor which logs HTTP request and response data.
|
Modifier and Type | Field and Description |
---|---|
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 |
Transmitter.eventListener |
private EventListener |
RouteSelector.eventListener |
private EventListener |
ExchangeFinder.eventListener |
(package private) EventListener |
Exchange.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 |
---|
Exchange(Transmitter transmitter,
Call call,
EventListener eventListener,
ExchangeFinder finder,
ExchangeCodec codec) |
ExchangeFinder(Transmitter transmitter,
RealConnectionPool connectionPool,
Address address,
Call call,
EventListener eventListener) |
RouteSelector(Address address,
RouteDatabase routeDatabase,
Call call,
EventListener eventListener) |
Modifier and Type | Class and Description |
---|---|
class |
LoggingEventListener
An OkHttp EventListener, which logs call events.
|
Modifier and Type | Method and Description |
---|---|
EventListener |
LoggingEventListener.Factory.create(Call call) |