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.
|
Constructor and Description |
---|
Connection(ConnectionPool pool,
Route route) |
Modifier and Type | Method and Description |
---|---|
abstract void |
Internal.recycle(ConnectionPool pool,
Connection connection) |
Constructor and Description |
---|
HttpConnection(ConnectionPool pool,
Connection connection,
Socket socket) |
Copyright © 2015. All rights reserved.