
public interface ChunkedInput
ChunkedWriteHandler.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases the resources associated with the stream.
|
boolean |
hasNextChunk()
Returns
true if and only if there is any data left in the
stream. |
Object |
nextChunk()
Fetches a chunked data from the stream.
|
boolean hasNextChunk()
throws Exception
true if and only if there is any data left in the
stream.ExceptionObject nextChunk() throws Exception
ChannelBuffer, but you could extend an existing implementation
to convert the ChannelBuffer into a different type that your
handler or encoder understands.ChannelBuffer.
null if there is no data left in the stream.ExceptionCopyright © 2008-2013 JBoss, by Red Hat. All Rights Reserved.