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

- Packages that use ContentEncoder
  Package | Description
  --- | ---
  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
    Modifier and Type | Field and Description
    --- | ---
    `protected ContentEncoder` | NHttpConnectionBase.`contentEncoder`

    Methods in org.apache.http.impl.nio that return ContentEncoder
    Modifier and Type | Method and Description
    --- | ---
    `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
    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.

  - ### Uses of ContentEncoder in org.apache.http.nio

    Subinterfaces of ContentEncoder in org.apache.http.nio
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `FileContentEncoder` A content encoder capable of transferring data directly from a `FileChannel`

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

    Constructors in org.apache.http.nio with parameters of type ContentEncoder
    Constructor and 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 and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `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` | BasicAsyncClientExchangeHandler.`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` | HttpAsyncClientExchangeHandler.`produceContent(ContentEncoder encoder, IOControl ioctrl)` Invoked to write out a chunk of content to the `ContentEncoder`.
    `void` | BasicAsyncRequestExecutionHandler.`produceContent(ContentEncoder encoder, IOControl ioctrl)` Deprecated.

  - ### 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 and Description
    --- | ---
    `int` | SimpleOutputBuffer.`produceContent(ContentEncoder encoder)`
    `int` | SharedOutputBuffer.`produceContent(ContentEncoder encoder)` Deprecated. (4.3) use `SharedOutputBuffer.produceContent(ContentEncoder, IOControl)`
    `int` | ContentOutputBuffer.`produceContent(ContentEncoder encoder)` Deprecated. (4.3) use implementation specific methods.
    `int` | SharedOutputBuffer.`produceContent(ContentEncoder encoder, IOControl ioctrl)`

Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.