Uses of Interface
org.apache.http.nio.ContentEncoder
-
Packages that use ContentEncoder 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. -
-
Uses of ContentEncoder in org.apache.http.impl.nio
Fields in org.apache.http.impl.nio declared as ContentEncoder Modifier and Type Field Description protected ContentEncoder
NHttpConnectionBase. contentEncoder
Methods in org.apache.http.impl.nio that return ContentEncoder Modifier and Type Method Description protected ContentEncoder
NHttpConnectionBase. createContentEncoder(long len, java.nio.channels.WritableByteChannel channel, SessionOutputBuffer buffer, HttpTransportMetricsImpl metrics)
Factory method forContentEncoder
instances.Methods in org.apache.http.impl.nio with parameters of type ContentEncoder Modifier and Type Method Description void
NHttpClientEventHandlerAdaptor. outputReady(NHttpClientConnection conn, ContentEncoder encoder)
Deprecated.void
NHttpServerEventHandlerAdaptor. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated. -
Uses of ContentEncoder in org.apache.http.impl.nio.codecs
Classes in org.apache.http.impl.nio.codecs that implement ContentEncoder Modifier and Type Class Description class
AbstractContentEncoder
AbstractContentEncoder
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. -
Uses of ContentEncoder in org.apache.http.nio
Subinterfaces of ContentEncoder in org.apache.http.nio Modifier and Type Interface Description interface
FileContentEncoder
A content encoder capable of transferring data directly from aFileChannel
Fields in org.apache.http.nio declared as ContentEncoder Modifier and Type Field Description private ContentEncoder
ContentEncoderChannel. contentEncoder
Methods in org.apache.http.nio with parameters of type ContentEncoder Modifier and Type Method 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.Constructors in org.apache.http.nio with parameters of type ContentEncoder Constructor Description ContentEncoderChannel(ContentEncoder contentEncoder)
-
Uses of ContentEncoder in org.apache.http.nio.entity
Methods in org.apache.http.nio.entity with parameters of type ContentEncoder Modifier and Type Method Description void
EntityAsyncContentProducer. produceContent(ContentEncoder encoder, IOControl ioControl)
void
HttpAsyncContentProducer. produceContent(ContentEncoder encoder, IOControl ioControl)
Invoked to write out a chunk of content to theContentEncoder
.void
NByteArrayEntity. produceContent(ContentEncoder encoder, IOControl ioControl)
void
NFileEntity. produceContent(ContentEncoder encoder, IOControl ioControl)
void
NHttpEntityWrapper. produceContent(ContentEncoder encoder, IOControl ioControl)
Deprecated.void
NStringEntity. produceContent(ContentEncoder encoder, IOControl ioControl)
void
ProducingNHttpEntity. produceContent(ContentEncoder encoder, IOControl ioControl)
Deprecated.Notification that content should be written to the encoder. -
Uses of ContentEncoder in org.apache.http.nio.protocol
Methods in org.apache.http.nio.protocol with parameters of type ContentEncoder Modifier and Type Method Description void
AsyncNHttpClientHandler. outputReady(NHttpClientConnection conn, ContentEncoder encoder)
Deprecated.void
AsyncNHttpServiceHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.void
BufferingHttpClientHandler. outputReady(NHttpClientConnection conn, ContentEncoder encoder)
Deprecated.void
BufferingHttpServiceHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.void
HttpAsyncRequestExecutor. outputReady(NHttpClientConnection conn, ContentEncoder encoder)
void
HttpAsyncService. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
void
ThrottlingHttpClientHandler. outputReady(NHttpClientConnection conn, ContentEncoder encoder)
Deprecated.void
ThrottlingHttpServiceHandler. outputReady(NHttpServerConnection conn, ContentEncoder encoder)
Deprecated.void
BasicAsyncClientExchangeHandler. produceContent(ContentEncoder encoder, IOControl ioControl)
void
BasicAsyncRequestExecutionHandler. produceContent(ContentEncoder encoder, IOControl ioControl)
Deprecated.void
BasicAsyncRequestProducer. produceContent(ContentEncoder encoder, IOControl ioControl)
void
BasicAsyncResponseProducer. produceContent(ContentEncoder encoder, IOControl ioControl)
void
ErrorResponseProducer. produceContent(ContentEncoder encoder, IOControl ioControl)
void
HttpAsyncClientExchangeHandler. produceContent(ContentEncoder encoder, IOControl ioControl)
Invoked to write out a chunk of content to theContentEncoder
.void
HttpAsyncRequestProducer. produceContent(ContentEncoder encoder, IOControl ioControl)
Invoked to write out a chunk of content to theContentEncoder
.void
HttpAsyncResponseProducer. produceContent(ContentEncoder encoder, IOControl ioControl)
Invoked to write out a chunk of content to theContentEncoder
.void
PipeliningClientExchangeHandler. produceContent(ContentEncoder encoder, IOControl ioControl)
-
Uses of ContentEncoder in org.apache.http.nio.util
Methods in org.apache.http.nio.util with parameters of type ContentEncoder Modifier and Type Method Description int
ContentOutputBuffer. produceContent(ContentEncoder encoder)
Deprecated.(4.3) use implementation specific methods.int
SharedOutputBuffer. produceContent(ContentEncoder encoder)
Deprecated.int
SharedOutputBuffer. produceContent(ContentEncoder encoder, IOControl ioControl)
int
SimpleOutputBuffer. produceContent(ContentEncoder encoder)
-