Uses of Interface
org.apache.http.nio.ContentEncoder
Packages that use ContentEncoder
Package
Description
Default implementations of HTTP connections for asynchronous,
even driven communication.
Default implementations of message parses and writers
for asynchronous, even driven communication.
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
Core HTTP entity implementations with support for
asynchronous, event driven communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
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 ContentEncoderMethods in org.apache.http.impl.nio that return ContentEncoderModifier and TypeMethodDescriptionprotected ContentEncoder
NHttpConnectionBase.createContentEncoder
(long len, WritableByteChannel channel, SessionOutputBuffer buffer, HttpTransportMetricsImpl metrics) Factory method forContentEncoder
instances.Methods in org.apache.http.impl.nio with parameters of type ContentEncoderModifier and TypeMethodDescriptionvoid
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 ContentEncoderModifier and TypeClassDescriptionclass
AbstractContentEncoder
that serves as a base for all content encoder implementations.class
Implements chunked transfer coding.class
Content encoder that writes data without any transformation.class
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.nioModifier and TypeInterfaceDescriptioninterface
A content encoder capable of transferring data directly from aFileChannel
Fields in org.apache.http.nio declared as ContentEncoderModifier and TypeFieldDescriptionprivate final ContentEncoder
ContentEncoderChannel.contentEncoder
Methods in org.apache.http.nio with parameters of type ContentEncoderModifier and TypeMethodDescriptionvoid
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 -
Uses of ContentEncoder in org.apache.http.nio.entity
Methods in org.apache.http.nio.entity with parameters of type ContentEncoderModifier and TypeMethodDescriptionvoid
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 ContentEncoderModifier and TypeMethodDescriptionvoid
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 ContentEncoderModifier and TypeMethodDescriptionint
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)