| Package | Description |
|---|---|
| org.aoju.bus.http.accord | |
| org.aoju.bus.http.metric.http |
| Modifier and Type | Method and Description |
|---|---|
HttpCodec |
StreamAllocation.codec() |
HttpCodec |
RealConnection.newCodec(Httpd client,
Interceptor.Chain chain,
StreamAllocation streamAllocation) |
HttpCodec |
StreamAllocation.newStream(Httpd client,
Interceptor.Chain chain,
boolean doExtensiveHealthChecks) |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamAllocation.streamFinished(boolean noNewStreams,
HttpCodec codec,
long bytesRead,
IOException e) |
| Modifier and Type | Class and Description |
|---|---|
class |
Http1Codec
可以用来发送HTTP/1.1消息的套接字连接。这个类严格执行以下生命周期:
没有请求主体的交换器可以跳过创建和关闭请求主体。没有响应体的交换器可以
调用
newFixedLengthSource(0)
并可以跳过读取和关闭该源 |
class |
Http2Codec
使用HTTP/2帧对请求和响应进行编码.
|
| Modifier and Type | Method and Description |
|---|---|
HttpCodec |
RealInterceptorChain.httpStream() |
| Modifier and Type | Method and Description |
|---|---|
Response |
RealInterceptorChain.proceed(Request request,
StreamAllocation streamAllocation,
HttpCodec httpCodec,
RealConnection connection) |
| 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 © 2020. All rights reserved.