Package | Description |
---|---|
com.squareup.okhttp | |
com.squareup.okhttp.internal | |
com.squareup.okhttp.internal.http |
Modifier and Type | Method and Description |
---|---|
ConnectionPool |
OkHttpClient.getConnectionPool() |
static ConnectionPool |
ConnectionPool.getDefault() |
Modifier and Type | Method and Description |
---|---|
OkHttpClient |
OkHttpClient.setConnectionPool(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 RealConnection |
Internal.get(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation) |
abstract void |
Internal.put(ConnectionPool pool,
RealConnection connection) |
abstract RouteDatabase |
Internal.routeDatabase(ConnectionPool connectionPool) |
Constructor and Description |
---|
StreamAllocation(ConnectionPool connectionPool,
Address address) |
Copyright © 2016. All rights reserved.