Package | Description |
---|---|
org.apache.http.impl.nio |
Default implementations of HTTP connections for asynchronous,
even driven communication.
|
org.apache.http.impl.nio.codecs |
Default implementations of message parses and writers
for asynchronous, even driven communication.
|
org.apache.http.nio |
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
|
org.apache.http.nio.entity |
Core HTTP entity implementations with support for
asynchronous, event driven communication.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
org.apache.http.nio.util |
Core utility classes for asynchronous, event driven communication.
|
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 |
NHttpClientEventHandler.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 |
NHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder)
Deprecated.
Triggered when the underlying channel is ready for writing a next portion
of the request entity through the corresponding content encoder.
|
void |
NHttpServerEventHandler.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.
|
void |
NHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
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 |
NHttpEntityWrapper.produceContent(ContentEncoder encoder,
IOControl ioControl)
Deprecated.
|
void |
NFileEntity.produceContent(ContentEncoder encoder,
IOControl ioControl) |
void |
ProducingNHttpEntity.produceContent(ContentEncoder encoder,
IOControl ioControl)
Deprecated.
Notification that content should be written to the encoder.
|
void |
HttpAsyncContentProducer.produceContent(ContentEncoder encoder,
IOControl ioControl)
Invoked to write out a chunk of content to the
ContentEncoder . |
void |
NByteArrayEntity.produceContent(ContentEncoder encoder,
IOControl ioControl) |
void |
EntityAsyncContentProducer.produceContent(ContentEncoder encoder,
IOControl ioControl) |
void |
NStringEntity.produceContent(ContentEncoder encoder,
IOControl ioControl) |
Modifier and Type | Method and Description |
---|---|
void |
ThrottlingHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
BufferingHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
AsyncNHttpClientHandler.outputReady(NHttpClientConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
HttpAsyncRequestExecutor.outputReady(NHttpClientConnection conn,
ContentEncoder encoder) |
void |
ThrottlingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
BufferingHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
AsyncNHttpServiceHandler.outputReady(NHttpServerConnection conn,
ContentEncoder encoder)
Deprecated.
|
void |
HttpAsyncService.outputReady(NHttpServerConnection conn,
ContentEncoder encoder) |
void |
BasicAsyncRequestExecutionHandler.produceContent(ContentEncoder encoder,
IOControl ioControl)
Deprecated.
|
void |
BasicAsyncResponseProducer.produceContent(ContentEncoder encoder,
IOControl ioControl) |
void |
HttpAsyncResponseProducer.produceContent(ContentEncoder encoder,
IOControl ioControl)
Invoked to write out a chunk of content to the
ContentEncoder . |
void |
BasicAsyncClientExchangeHandler.produceContent(ContentEncoder encoder,
IOControl ioControl) |
void |
HttpAsyncClientExchangeHandler.produceContent(ContentEncoder encoder,
IOControl ioControl)
Invoked to write out a chunk of content to the
ContentEncoder . |
void |
BasicAsyncRequestProducer.produceContent(ContentEncoder encoder,
IOControl ioControl) |
void |
HttpAsyncRequestProducer.produceContent(ContentEncoder encoder,
IOControl ioControl)
Invoked to write out a chunk of content to the
ContentEncoder . |
void |
ErrorResponseProducer.produceContent(ContentEncoder encoder,
IOControl ioControl) |
void |
PipeliningClientExchangeHandler.produceContent(ContentEncoder encoder,
IOControl ioControl) |
Modifier and Type | Method and Description |
---|---|
int |
SimpleOutputBuffer.produceContent(ContentEncoder encoder) |
int |
SharedOutputBuffer.produceContent(ContentEncoder encoder)
Deprecated.
|
int |
ContentOutputBuffer.produceContent(ContentEncoder encoder)
Deprecated.
(4.3) use implementation specific methods.
|
int |
SharedOutputBuffer.produceContent(ContentEncoder encoder,
IOControl ioControl) |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.