| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.accord | |
| org.aoju.bus.http.internal.http | |
| org.aoju.bus.http.offers |
| Modifier and Type | Class and Description |
|---|---|
class |
RealCall |
| Modifier and Type | Method and Description |
|---|---|
Call |
Call.clone()
Create a new, identical call to this one which can be enqueued or executed even if this call
has already been.
|
Call |
Call.Factory.newCall(Request request) |
Call |
Client.newCall(Request request) |
abstract Call |
Internal.newWebSocketCall(Client client,
Request request) |
| Modifier and Type | Method and Description |
|---|---|
void |
Callback.onFailure(Call call,
IOException ex)
Called when the request could not be executed due to cancellation, a connectivity problem or
timeout.
|
void |
Callback.onResponse(Call call,
Response response)
Called when the HTTP response was successfully returned by the remote server.
|
abstract StreamAllocation |
Internal.streamAllocation(Call call) |
abstract IOException |
Internal.timeoutExit(Call call,
IOException e) |
| Modifier and Type | Field and Description |
|---|---|
Call |
StreamAllocation.call |
| Modifier and Type | Method and Description |
|---|---|
void |
RealConnection.connect(int connectTimeout,
int readTimeout,
int writeTimeout,
int pingIntervalMillis,
boolean connectionRetryEnabled,
Call call,
EventListener eventListener) |
| Constructor and Description |
|---|
RouteSelector(Address address,
RouteDatabase routeDatabase,
Call call,
EventListener eventListener) |
StreamAllocation(ConnectionPool connectionPool,
Address address,
Call call,
EventListener eventListener,
Object callStackTrace) |
| Modifier and Type | Method and Description |
|---|---|
Call |
RealInterceptorChain.call() |
| Constructor and Description |
|---|
RealInterceptorChain(List<Interceptor> interceptors,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection,
int index,
Request request,
Call call,
EventListener eventListener,
int connectTimeout,
int readTimeout,
int writeTimeout) |
| Modifier and Type | Method and Description |
|---|---|
Call |
Interceptor.Chain.call() |
| Modifier and Type | Method and Description |
|---|---|
List<Call> |
Dispatcher.queuedCalls() |
List<Call> |
Dispatcher.runningCalls() |
| Modifier and Type | Method and Description |
|---|---|
void |
EventListener.callEnd(Call call) |
void |
EventListener.callFailed(Call call,
IOException ioe) |
void |
EventListener.callStart(Call call) |
void |
EventListener.connectEnd(Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
Protocol protocol) |
void |
EventListener.connectFailed(Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy,
Protocol protocol,
IOException ioe) |
void |
EventListener.connectionAcquired(Call call,
Connection connection) |
void |
EventListener.connectionReleased(Call call,
Connection connection) |
void |
EventListener.connectStart(Call call,
InetSocketAddress inetSocketAddress,
Proxy proxy) |
EventListener |
EventListener.Factory.create(Call call) |
void |
EventListener.dnsEnd(Call call,
String domainName,
List<InetAddress> inetAddressList) |
void |
EventListener.dnsStart(Call call,
String domainName) |
void |
EventListener.requestBodyEnd(Call call,
long byteCount) |
void |
EventListener.requestBodyStart(Call call) |
void |
EventListener.requestHeadersEnd(Call call,
Request request) |
void |
EventListener.requestHeadersStart(Call call) |
void |
EventListener.responseBodyEnd(Call call,
long byteCount) |
void |
EventListener.responseBodyStart(Call call) |
void |
EventListener.responseHeadersEnd(Call call,
Response response) |
void |
EventListener.responseHeadersStart(Call call) |
void |
EventListener.secureConnectEnd(Call call,
Handshake handshake) |
void |
EventListener.secureConnectStart(Call call) |
Copyright © 2019. All rights reserved.