public class HttpInputOverSPDY extends QueuedHttpInput<DataInfo>
HttpInput.State
Constructor and Description |
---|
HttpInputOverSPDY() |
Modifier and Type | Method and Description |
---|---|
protected void |
consume(DataInfo item,
int length)
Consumes the given content.
|
protected int |
get(DataInfo item,
byte[] buffer,
int offset,
int length)
Copies the given content into the given byte buffer.
|
protected void |
onContentConsumed(DataInfo dataInfo)
Callback that signals that the given content has been consumed.
|
protected int |
remaining(DataInfo item) |
blockForContent, content, earlyEOF, messageComplete, nextContent, recycle
available, consumeAll, failed, getContentRead, getNextContent, init, isAsync, isEarlyEOF, isEOF, isFinished, isReady, lock, onAsyncRead, read, read, run, setReadListener, unready
readLine
close, mark, markSupported, read, reset, skip
protected int remaining(DataInfo item)
protected int get(DataInfo item, byte[] buffer, int offset, int length)
HttpInput
protected void consume(DataInfo item, int length)
HttpInput
protected void onContentConsumed(DataInfo dataInfo)
QueuedHttpInput
onContentConsumed
in class QueuedHttpInput<DataInfo>
dataInfo
- the consumed contentCopyright © 1995-2015 Webtide. All Rights Reserved.