| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.accord | |
| org.aoju.bus.http.magic |
| Modifier and Type | Method and Description |
|---|---|
ConnectionPool |
Httpd.connectionPool() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
Builder.connectionBecameIdle(ConnectionPool pool,
RealConnection connection) |
Httpd.Builder |
Httpd.Builder.connectionPool(ConnectionPool connectionPool)
设置用于回收HTTP和HTTPS连接的连接池.
|
abstract Socket |
Builder.deduplicate(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation) |
abstract RealConnection |
Builder.get(ConnectionPool pool,
Address address,
StreamAllocation streamAllocation,
Route route) |
abstract void |
Builder.put(ConnectionPool pool,
RealConnection connection) |
abstract RouteDatabase |
Builder.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,
NewCall call,
EventListener eventListener,
Object callStackTrace) |
| Modifier and Type | Method and Description |
|---|---|
HttpBuilder |
HttpBuilder.connectionPool(ConnectionPool connectPool) |
Copyright © 2019. All rights reserved.