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

- Packages that use ContentDecoder
  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 ContentDecoder in org.apache.http.impl.nio

    Fields in org.apache.http.impl.nio declared as ContentDecoder
    Modifier and Type | Field and Description
    --- | ---
    `protected ContentDecoder` | NHttpConnectionBase.`contentDecoder`

    Methods in org.apache.http.impl.nio that return ContentDecoder
    Modifier and Type | Method and Description
    --- | ---
    `protected ContentDecoder` | NHttpConnectionBase.`createContentDecoder(long len, ReadableByteChannel channel, SessionInputBuffer buffer, HttpTransportMetricsImpl metrics)` Factory method for `ContentDecoder` instances.

  - ### Uses of ContentDecoder in org.apache.http.impl.nio.codecs

    Classes in org.apache.http.impl.nio.codecs that implement ContentDecoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractContentDecoder` Abstract `ContentDecoder` that serves as a base for all content decoder implementations.
    `class` | `ChunkDecoder` Implements chunked transfer coding.
    `class` | `IdentityDecoder` Content decoder that reads data without any transformation.
    `class` | `LengthDelimitedDecoder` Content decoder that cuts off after a defined number of bytes.

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

    Subinterfaces of ContentDecoder in org.apache.http.nio
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `FileContentDecoder` A content decoder capable of transferring data directly to a `FileChannel`

    Methods in org.apache.http.nio with parameters of type ContentDecoder
    Modifier and Type | Method and Description
    --- | ---
    `void` | NHttpClientEventHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Triggered when the underlying channel is ready for reading a new portion of the response entity through the corresponding content decoder.
    `void` | NHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated. Triggered when the underlying channel is ready for reading a new portion of the response entity through the corresponding content decoder.
    `void` | NHttpServerEventHandler.`inputReady(NHttpServerConnection conn, ContentDecoder decoder)` Triggered when the underlying channel is ready for reading a new portion of the request entity through the corresponding content decoder.
    `void` | NHttpServiceHandler.`inputReady(NHttpServerConnection conn, ContentDecoder decoder)` Deprecated. Triggered when the underlying channel is ready for reading a new portion of the request entity through the corresponding content decoder.

    Constructors in org.apache.http.nio with parameters of type ContentDecoder
    Constructor and Description
    `ContentDecoderChannel(ContentDecoder decoder)`

  - ### Uses of ContentDecoder in org.apache.http.nio.entity

    Methods in org.apache.http.nio.entity with parameters of type ContentDecoder
    Modifier and Type | Method and Description
    --- | ---
    `void` | BufferingNHttpEntity.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Deprecated.
    `void` | ConsumingNHttpEntity.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Deprecated. Notification that content is available to be read from the decoder.
    `void` | ConsumingNHttpEntityTemplate.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Deprecated.
    `void` | SkipContentListener.`contentAvailable(ContentDecoder decoder, IOControl ioctrl)` Deprecated.
    `void` | ContentListener.`contentAvailable(ContentDecoder decoder, IOControl ioctrl)` Deprecated. Notification that content is available to be read from the decoder.

  - ### Uses of ContentDecoder in org.apache.http.nio.protocol

    Methods in org.apache.http.nio.protocol with parameters of type ContentDecoder
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractAsyncResponseConsumer.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Use `AbstractAsyncResponseConsumer.onContentReceived(ContentDecoder, IOControl)` instead.
    `void` | BasicAsyncClientExchangeHandler.`consumeContent(ContentDecoder decoder, IOControl ioctrl)`
    `void` | HttpAsyncRequestConsumer.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Invoked to process a chunk of content from the `ContentDecoder`.
    `void` | HttpAsyncClientExchangeHandler.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Invoked to process a chunk of content from the `ContentDecoder`.
    `void` | HttpAsyncResponseConsumer.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Invoked to process a chunk of content from the `ContentDecoder`.
    `void` | BasicAsyncRequestExecutionHandler.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Deprecated.
    `void` | AbstractAsyncRequestConsumer.`consumeContent(ContentDecoder decoder, IOControl ioctrl)` Use `AbstractAsyncRequestConsumer.onContentReceived(ContentDecoder, IOControl)` instead.
    `void` | BufferingHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated.
    `void` | ThrottlingHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated.
    `void` | AsyncNHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated.
    `void` | HttpAsyncRequestExecutor.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)`
    `void` | BufferingHttpServiceHandler.`inputReady(NHttpServerConnection conn, ContentDecoder decoder)` Deprecated.
    `void` | HttpAsyncService.`inputReady(NHttpServerConnection conn, ContentDecoder decoder)`
    `void` | AsyncNHttpServiceHandler.`inputReady(NHttpServerConnection conn, ContentDecoder decoder)` Deprecated.
    `void` | ThrottlingHttpServiceHandler.`inputReady(NHttpServerConnection conn, ContentDecoder decoder)` Deprecated.
    `protected abstract void` | AbstractAsyncResponseConsumer.`onContentReceived(ContentDecoder decoder, IOControl ioctrl)` Invoked to process a chunk of content from the `ContentDecoder`.
    `protected void` | BasicAsyncResponseConsumer.`onContentReceived(ContentDecoder decoder, IOControl ioctrl)`
    `protected void` | BasicAsyncRequestConsumer.`onContentReceived(ContentDecoder decoder, IOControl ioctrl)`
    `protected abstract void` | AbstractAsyncRequestConsumer.`onContentReceived(ContentDecoder decoder, IOControl ioctrl)` Invoked to process a chunk of content from the `ContentDecoder`.

  - ### Uses of ContentDecoder in org.apache.http.nio.util

    Methods in org.apache.http.nio.util with parameters of type ContentDecoder
    Modifier and Type | Method and Description
    --- | ---
    `int` | SharedInputBuffer.`consumeContent(ContentDecoder decoder)` Deprecated. (4.3) use `SharedInputBuffer.consumeContent(ContentDecoder, IOControl)`
    `int` | ContentInputBuffer.`consumeContent(ContentDecoder decoder)` Deprecated. (4.3) use implementation specific methods.
    `int` | SimpleInputBuffer.`consumeContent(ContentDecoder decoder)`
    `int` | SharedInputBuffer.`consumeContent(ContentDecoder decoder, IOControl ioctrl)`

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