## Uses of Interface
org.apache.http.nio.ContentEncoder

Packages that use ContentEncoder
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: Core HTTP components based on the non-blocking I/O model.
org.apache.http.nio.entity: Common HTTP entity implementations with extensions for asynchronous (non-blocking) data transfer.
org.apache.http.nio.protocol: Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
org.apache.http.nio.util: Various buffering primitives intended to facilitate content streaming for non-blocking HTTP connections.

Uses of ContentEncoder in org.apache.http.impl.nio

Fields in org.apache.http.impl.nio declared as ContentEncoder
`protected ContentEncoder` `NHttpConnectionBase.contentEncoder`

Methods in org.apache.http.impl.nio that return ContentEncoder
`protected ContentEncoder` `NHttpConnectionBase.createContentEncoder(long len, WritableByteChannel channel, SessionOutputBuffer buffer, HttpTransportMetricsImpl metrics)` Factory method for `ContentEncoder` instances.

Uses of ContentEncoder in org.apache.http.impl.nio.codecs

Classes in org.apache.http.impl.nio.codecs that implement ContentEncoder
`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.

Uses of ContentEncoder in org.apache.http.nio

Subinterfaces of ContentEncoder in org.apache.http.nio
`interface` `FileContentEncoder` A content encoder capable of transferring data directly from a `FileChannel`

Methods in org.apache.http.nio with parameters of type ContentEncoder
`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
`ContentEncoderChannel(ContentEncoder contentEncoder)`

Uses of ContentEncoder in org.apache.http.nio.entity

Methods in org.apache.http.nio.entity with parameters of type ContentEncoder
`void` `NHttpEntityWrapper.produceContent(ContentEncoder encoder, IOControl ioctrl)` Deprecated.
`void` `EntityAsyncContentProducer.produceContent(ContentEncoder encoder, IOControl ioctrl)`
`void` `ProducingNHttpEntity.produceContent(ContentEncoder encoder, IOControl ioctrl)` Deprecated. Notification that content should be written to the encoder.
`void` `NStringEntity.produceContent(ContentEncoder encoder, IOControl ioctrl)`
`void` `NFileEntity.produceContent(ContentEncoder encoder, IOControl ioctrl)`
`void` `NByteArrayEntity.produceContent(ContentEncoder encoder, IOControl ioctrl)`
`void` `HttpAsyncContentProducer.produceContent(ContentEncoder encoder, IOControl ioctrl)` Invoked to write out a chunk of content to the `ContentEncoder`.

Uses of ContentEncoder in org.apache.http.nio.protocol

Methods in org.apache.http.nio.protocol with parameters of type ContentEncoder
`void` `BufferingHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Deprecated.
`void` `ThrottlingHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Deprecated.
`void` `AsyncNHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Deprecated.
`void` `HttpAsyncRequestExecutor.outputReady(NHttpClientConnection conn, ContentEncoder encoder)`
`void` `BufferingHttpServiceHandler.outputReady(NHttpServerConnection conn, ContentEncoder encoder)` Deprecated.
`void` `HttpAsyncService.outputReady(NHttpServerConnection conn, ContentEncoder encoder)`
`void` `AsyncNHttpServiceHandler.outputReady(NHttpServerConnection conn, ContentEncoder encoder)` Deprecated.
`void` `ThrottlingHttpServiceHandler.outputReady(NHttpServerConnection conn, ContentEncoder encoder)` Deprecated.
`void` `HttpAsyncResponseProducer.produceContent(ContentEncoder encoder, IOControl ioctrl)` Invoked to write out a chunk of content to the `ContentEncoder`.
`void` `BasicAsyncResponseProducer.produceContent(ContentEncoder encoder, IOControl ioctrl)`
`void` `BasicAsyncRequestProducer.produceContent(ContentEncoder encoder, IOControl ioctrl)`
`void` `HttpAsyncRequestProducer.produceContent(ContentEncoder encoder, IOControl ioctrl)` Invoked to write out a chunk of content to the `ContentEncoder`.
`void` `BasicAsyncRequestExecutionHandler.produceContent(ContentEncoder encoder, IOControl ioctrl)`

Uses of ContentEncoder in org.apache.http.nio.util

Methods in org.apache.http.nio.util with parameters of type ContentEncoder
`int` `SimpleOutputBuffer.produceContent(ContentEncoder encoder)`
`int` `SharedOutputBuffer.produceContent(ContentEncoder encoder)`
`int` `ContentOutputBuffer.produceContent(ContentEncoder encoder)` Writes content from this buffer to the given `ContentEncoder`.

Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.