Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations for interfaces in
org.apache.http.nio . |
org.apache.http.impl.nio.codecs |
Default implementations for interfaces in
org.apache.http.nio.codecs . |
org.apache.http.nio |
The core HTTP components based on non-blocking I/O model (HttpCore NIO).
|
org.apache.http.nio.entity |
Representations for non-blocking HTTP message entities.
|
org.apache.http.nio.protocol |
Non-blocking HTTP protocol execution framework.
|
org.apache.http.nio.util |
Various buffering primitives intended to facilitate content streaming for
non-blocking HTTP connections.
|
Modifier and Type | Field and Description |
---|---|
protected ContentEncoder |
NHttpConnectionBase.contentEncoder |
Modifier and Type | Method and Description |
---|---|
protected ContentEncoder |
NHttpConnectionBase.createContentEncoder(long len,
WritableByteChannel channel,
SessionOutputBuffer buffer,
HttpTransportMetricsImpl metrics)
Factory method for
ContentEncoder instances. |
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FileContentEncoder
A content encoder capable of transferring data directly from a
FileChannel |
Modifier and Type | Method and Description |
---|---|
void |
NHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder)
Triggered when the underlying channel is ready for writing a next portion
of the request entity through the corresponding content encoder.
|
void |
NHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Triggered when the underlying channel is ready for writing a
next portion of the response entity through the corresponding
content encoder.
|
Constructor and Description |
---|
ContentEncoderChannel(ContentEncoder contentEncoder) |
Modifier and Type | Method and Description |
---|---|
void |
NStringEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
void |
ProducingNHttpEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl)
Notification that content should be written to the encoder.
|
void |
NFileEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
void |
NHttpEntityWrapper.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
void |
NByteArrayEntity.produceContent(ContentEncoder encoder,
IOControl ioctrl) |
Modifier and Type | Method and Description |
---|---|
void |
ThrottlingHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder) |
void |
BufferingHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder) |
void |
AsyncNHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder) |
void |
AsyncNHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
void |
BufferingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
void |
ThrottlingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
Modifier and Type | Method and Description |
---|---|
int |
ContentOutputBuffer.produceContent(ContentEncoder encoder)
Writes content from this buffer to the given
ContentEncoder . |
int |
SharedOutputBuffer.produceContent(ContentEncoder encoder) |
int |
SimpleOutputBuffer.produceContent(ContentEncoder encoder) |
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.