Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal | |
okhttp3.internal.connection |
Modifier and Type | Method and Description |
---|---|
ConnectionPool |
OkHttpClient.connectionPool() |
Modifier and Type | Method and Description |
---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.connectionPool(ConnectionPool connectionPool)
Sets the connection pool used to recycle HTTP and HTTPS connections.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Internal.connectionBecameIdle(ConnectionPool pool,
RealConnection connection) |
abstract Socket |
Internal.deduplicate(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation) |
abstract RealConnection |
Internal.get(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation,
Route route) |
abstract void |
Internal.put(ConnectionPool pool,
RealConnection connection) |
abstract RouteDatabase |
Internal.routeDatabase(ConnectionPool connectionPool) |
Modifier and Type | Method and Description |
---|---|
static RealConnection |
RealConnection.testConnection(ConnectionPool connectionPool,
Route route,
Socket socket,
long idleAtNanos) |
Constructor and Description |
---|
RealConnection(ConnectionPool connectionPool,
Route route) |
StreamAllocation(ConnectionPool connectionPool,
Address address,
Call call,
EventListener eventListener,
Object callStackTrace) |
Copyright © 2019. All rights reserved.