| 程序包 | 说明 |
|---|---|
| org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
| org.apache.hc.core5.http.nio |
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractContentEncoder
Abstract
ContentEncoder that serves as a base for all content
encoder implementations. |
class |
ChunkEncoder
Implements chunked transfer coding.
|
class |
IdentityEncoder
Content encoder that writes data without any transformation.
|
class |
LengthDelimitedEncoder
Content encoder that cuts off after a defined number of bytes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected ContentEncoder |
ServerHttp1StreamDuplexer.createContentEncoder(long len,
WritableByteChannel channel,
SessionOutputBuffer buffer,
BasicHttpTransportMetrics metrics) |
protected ContentEncoder |
ClientHttp1StreamDuplexer.createContentEncoder(long len,
WritableByteChannel channel,
SessionOutputBuffer buffer,
BasicHttpTransportMetrics metrics) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
FileContentEncoder
A content encoder capable of transferring data directly from a
FileChannel |
Copyright © 2023. All rights reserved.