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 ContentEncoderNHttpConnectionBase.createContentEncoder(long len, WritableByteChannel channel, SessionOutputBuffer buffer, HttpTransportMetricsImpl metrics) Factory method forContentEncoderinstances.Methods in org.apache.http.impl.nio with parameters of type ContentEncoderModifier and TypeMethodDescriptionvoidNHttpClientEventHandlerAdaptor.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.voidNHttpServerEventHandlerAdaptor.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 TypeClassDescriptionclassAbstractContentEncoderthat serves as a base for all content encoder implementations.classImplements chunked transfer coding.classContent encoder that writes data without any transformation.classContent 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 TypeInterfaceDescriptioninterfaceA content encoder capable of transferring data directly from aFileChannelFields in org.apache.http.nio declared as ContentEncoderModifier and TypeFieldDescriptionprivate final ContentEncoderContentEncoderChannel.contentEncoderMethods in org.apache.http.nio with parameters of type ContentEncoderModifier and TypeMethodDescriptionvoidNHttpClientEventHandler.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.voidNHttpClientHandler.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.voidNHttpServerEventHandler.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.voidNHttpServiceHandler.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 TypeMethodDescriptionvoidEntityAsyncContentProducer.produceContent(ContentEncoder encoder, IOControl ioControl) voidHttpAsyncContentProducer.produceContent(ContentEncoder encoder, IOControl ioControl) Invoked to write out a chunk of content to theContentEncoder.voidNByteArrayEntity.produceContent(ContentEncoder encoder, IOControl ioControl) voidNFileEntity.produceContent(ContentEncoder encoder, IOControl ioControl) voidNHttpEntityWrapper.produceContent(ContentEncoder encoder, IOControl ioControl) Deprecated.voidNStringEntity.produceContent(ContentEncoder encoder, IOControl ioControl) voidProducingNHttpEntity.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 TypeMethodDescriptionvoidAsyncNHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.voidAsyncNHttpServiceHandler.outputReady(NHttpServerConnection conn, ContentEncoder encoder) Deprecated.voidBufferingHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.voidBufferingHttpServiceHandler.outputReady(NHttpServerConnection conn, ContentEncoder encoder) Deprecated.voidHttpAsyncRequestExecutor.outputReady(NHttpClientConnection conn, ContentEncoder encoder) voidHttpAsyncService.outputReady(NHttpServerConnection conn, ContentEncoder encoder) voidThrottlingHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.voidThrottlingHttpServiceHandler.outputReady(NHttpServerConnection conn, ContentEncoder encoder) Deprecated.voidBasicAsyncClientExchangeHandler.produceContent(ContentEncoder encoder, IOControl ioControl) voidBasicAsyncRequestExecutionHandler.produceContent(ContentEncoder encoder, IOControl ioControl) Deprecated.voidBasicAsyncRequestProducer.produceContent(ContentEncoder encoder, IOControl ioControl) voidBasicAsyncResponseProducer.produceContent(ContentEncoder encoder, IOControl ioControl) voidErrorResponseProducer.produceContent(ContentEncoder encoder, IOControl ioControl) voidHttpAsyncClientExchangeHandler.produceContent(ContentEncoder encoder, IOControl ioControl) Invoked to write out a chunk of content to theContentEncoder.voidHttpAsyncRequestProducer.produceContent(ContentEncoder encoder, IOControl ioControl) Invoked to write out a chunk of content to theContentEncoder.voidHttpAsyncResponseProducer.produceContent(ContentEncoder encoder, IOControl ioControl) Invoked to write out a chunk of content to theContentEncoder.voidPipeliningClientExchangeHandler.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 TypeMethodDescriptionintContentOutputBuffer.produceContent(ContentEncoder encoder) Deprecated.(4.3) use implementation specific methods.intSharedOutputBuffer.produceContent(ContentEncoder encoder) Deprecated.intSharedOutputBuffer.produceContent(ContentEncoder encoder, IOControl ioControl) intSimpleOutputBuffer.produceContent(ContentEncoder encoder)