| Package | Description |
|---|---|
| org.aoju.bus.http | |
| org.aoju.bus.http.accord | |
| org.aoju.bus.http.metric | |
| org.aoju.bus.http.metric.http |
| Modifier and Type | Method and Description |
|---|---|
Httpd.Builder |
Httpd.Builder.eventListener(EventListener eventListener)
配置单个客户机作用域侦听器,该侦听器将接收此客户机的所有分析事件.
|
| Modifier and Type | Field and Description |
|---|---|
EventListener |
StreamAllocation.eventListener |
| Modifier and Type | Method and Description |
|---|---|
void |
RealConnection.connect(int connectTimeout,
int readTimeout,
int writeTimeout,
int pingIntervalMillis,
boolean connectionRetryEnabled,
NewCall call,
EventListener eventListener) |
| Constructor and Description |
|---|
RouteSelector(Address address,
RouteDatabase routeDatabase,
NewCall call,
EventListener eventListener) |
StreamAllocation(ConnectionPool connectionPool,
Address address,
NewCall call,
EventListener eventListener,
Object callStackTrace) |
| Modifier and Type | Field and Description |
|---|---|
static EventListener |
EventListener.NONE |
| Modifier and Type | Method and Description |
|---|---|
EventListener |
EventListener.Factory.create(NewCall call)
为特定的
NewCall创建EventListener的实例。
返回的EventListener实例将在call的生命周期中使用
此方法在创建call之后调用。查看# newCall(请求)
对实现来说,在这个方法的call实例上发出任何变化操作都是错误的 |
| Modifier and Type | Method and Description |
|---|---|
static EventListener.Factory |
EventListener.factory(EventListener listener) |
| Modifier and Type | Method and Description |
|---|---|
EventListener |
RealInterceptorChain.eventListener() |
| Constructor and Description |
|---|
RealInterceptorChain(List<Interceptor> interceptors,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection,
int index,
Request request,
NewCall call,
EventListener eventListener,
int connectTimeout,
int readTimeout,
int writeTimeout) |
Copyright © 2019. All rights reserved.