public abstract class AbstractContentDecoder extends Object implements ContentDecoder
ContentDecoder that serves as a base for all content
decoder implementations.| Constructor and Description |
|---|
AbstractContentDecoder(ReadableByteChannel channel,
SessionInputBuffer buffer,
HttpTransportMetricsImpl metrics)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompleted()
Returns
true if the entity has been received in its
entirety. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadpublic AbstractContentDecoder(ReadableByteChannel channel, SessionInputBuffer buffer, HttpTransportMetricsImpl metrics)
channel - the source channel.buffer - the session input buffer that can be used to store
session data for intermediate processing.metrics - Transport metrics of the underlying HTTP transport.public boolean isCompleted()
ContentDecodertrue if the entity has been received in its
entirety.isCompleted in interface ContentDecodertrue if all the content has been consumed,
false otherwise.Copyright © 2010 - 2020 Adobe. All Rights Reserved