Uses of Interface
org.apache.http.nio.ContentDecoder
-
Packages that use ContentDecoder Package Description org.apache.http.impl.nio Default implementations of HTTP connections for asynchronous, even driven communication.org.apache.http.impl.nio.codecs Default implementations of message parses and writers for asynchronous, even driven communication.org.apache.http.nio Core HTTP component APIs and primitives for asynchronous, event driven communication.org.apache.http.nio.entity Core HTTP entity implementations with support for asynchronous, event driven communication.org.apache.http.nio.protocol Core HTTP protocol execution framework and HTTP protocol handlers for asynchronous, event driven communication.org.apache.http.nio.util Core utility classes for asynchronous, event driven communication. -
-
Uses of ContentDecoder in org.apache.http.impl.nio
Fields in org.apache.http.impl.nio declared as ContentDecoder Modifier and Type Field Description protected ContentDecoder
NHttpConnectionBase. contentDecoder
Methods in org.apache.http.impl.nio that return ContentDecoder Modifier and Type Method Description protected ContentDecoder
NHttpConnectionBase. createContentDecoder(long len, java.nio.channels.ReadableByteChannel channel, SessionInputBuffer buffer, HttpTransportMetricsImpl metrics)
Factory method forContentDecoder
instances.Methods in org.apache.http.impl.nio with parameters of type ContentDecoder Modifier and Type Method Description void
NHttpClientEventHandlerAdaptor. inputReady(NHttpClientConnection conn, ContentDecoder decoder)
Deprecated.void
NHttpServerEventHandlerAdaptor. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated. -
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 Description class
AbstractContentDecoder
AbstractContentDecoder
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 Description interface
FileContentDecoder
A content decoder capable of transferring data directly to aFileChannel
Fields in org.apache.http.nio declared as ContentDecoder Modifier and Type Field Description private ContentDecoder
ContentDecoderChannel. decoder
Methods in org.apache.http.nio with parameters of type ContentDecoder Modifier and Type Method 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 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 Description void
BufferingNHttpEntity. consumeContent(ContentDecoder decoder, IOControl ioControl)
Deprecated.void
ConsumingNHttpEntity. consumeContent(ContentDecoder decoder, IOControl ioControl)
Deprecated.Notification that content is available to be read from the decoder.void
ConsumingNHttpEntityTemplate. consumeContent(ContentDecoder decoder, IOControl ioControl)
Deprecated.void
ContentListener. contentAvailable(ContentDecoder decoder, IOControl ioControl)
Deprecated.Notification that content is available to be read from the decoder.void
SkipContentListener. contentAvailable(ContentDecoder decoder, IOControl ioControl)
Deprecated. -
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 Description void
AbstractAsyncRequestConsumer. consumeContent(ContentDecoder decoder, IOControl ioControl)
void
AbstractAsyncResponseConsumer. consumeContent(ContentDecoder decoder, IOControl ioControl)
void
BasicAsyncClientExchangeHandler. consumeContent(ContentDecoder decoder, IOControl ioControl)
void
BasicAsyncRequestExecutionHandler. consumeContent(ContentDecoder decoder, IOControl ioControl)
Deprecated.void
HttpAsyncClientExchangeHandler. consumeContent(ContentDecoder decoder, IOControl ioControl)
Invoked to process a chunk of content from theContentDecoder
.void
HttpAsyncRequestConsumer. consumeContent(ContentDecoder decoder, IOControl ioControl)
Invoked to process a chunk of content from theContentDecoder
.void
HttpAsyncResponseConsumer. consumeContent(ContentDecoder decoder, IOControl ioControl)
Invoked to process a chunk of content from theContentDecoder
.void
NullNHttpEntity. consumeContent(ContentDecoder decoder, IOControl ioControl)
Deprecated.void
NullRequestConsumer. consumeContent(ContentDecoder decoder, IOControl ioControl)
void
PipeliningClientExchangeHandler. consumeContent(ContentDecoder decoder, IOControl ioControl)
void
AsyncNHttpClientHandler. inputReady(NHttpClientConnection conn, ContentDecoder decoder)
Deprecated.void
AsyncNHttpServiceHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.void
BufferingHttpClientHandler. inputReady(NHttpClientConnection conn, ContentDecoder decoder)
Deprecated.void
BufferingHttpServiceHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.void
HttpAsyncRequestExecutor. inputReady(NHttpClientConnection conn, ContentDecoder decoder)
void
HttpAsyncService. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
void
ThrottlingHttpClientHandler. inputReady(NHttpClientConnection conn, ContentDecoder decoder)
Deprecated.void
ThrottlingHttpServiceHandler. inputReady(NHttpServerConnection conn, ContentDecoder decoder)
Deprecated.protected abstract void
AbstractAsyncRequestConsumer. onContentReceived(ContentDecoder decoder, IOControl ioControl)
Invoked to process a chunk of content from theContentDecoder
.protected abstract void
AbstractAsyncResponseConsumer. onContentReceived(ContentDecoder decoder, IOControl ioControl)
Invoked to process a chunk of content from theContentDecoder
.protected void
BasicAsyncRequestConsumer. onContentReceived(ContentDecoder decoder, IOControl ioControl)
protected void
BasicAsyncResponseConsumer. onContentReceived(ContentDecoder decoder, IOControl ioControl)
-
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 Description int
ContentInputBuffer. consumeContent(ContentDecoder decoder)
Deprecated.(4.3) use implementation specific methods.int
SharedInputBuffer. consumeContent(ContentDecoder decoder)
Deprecated.int
SharedInputBuffer. consumeContent(ContentDecoder decoder, IOControl ioControl)
int
SimpleInputBuffer. consumeContent(ContentDecoder decoder)
-