| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.accord | |
| org.aoju.bus.http.cache | |
| org.aoju.bus.http.internal.http |
| Modifier and Type | Method and Description |
|---|---|
List<Interceptor> |
Client.interceptors() |
List<Interceptor> |
Client.Builder.interceptors() |
List<Interceptor> |
Client.networkInterceptors() |
List<Interceptor> |
Client.Builder.networkInterceptors() |
| Modifier and Type | Method and Description |
|---|---|
Client.Builder |
Client.Builder.addInterceptor(Interceptor interceptor) |
Client.Builder |
Client.Builder.addNetworkInterceptor(Interceptor interceptor) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectInterceptor
Opens a connection to the target server and proceeds to the next intercept.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CacheInterceptor
Serves requests from the cache and writes responses to the cache.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BridgeInterceptor
Bridges from application code to network code.
|
class |
CallServerInterceptor
This is the last intercept in the chain.
|
class |
RetryAndFollowUpInterceptor
This intercept recovers from failures and follows redirects as necessary.
|
| 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) |
Copyright © 2019. All rights reserved.