|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChunkedInput
A large data stream which is consumed by ChunkedWriteHandler
.
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean hasNextChunk() throws Exception
true
if and only if there is any data left in the
stream.
Exception
Object 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.
Exception
void close() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |