protected class HttpConnection.Input extends ByteBufferHttpInput
Modifier | Constructor and Description |
---|---|
protected |
HttpConnection.Input() |
Modifier and Type | Method and Description |
---|---|
protected void |
blockForContent() |
void |
earlyEOF()
This method should be called to signal to the HttpInput
that an EOF has arrived before all the expected content.
|
protected void |
onAllContentConsumed()
Called by this HttpInput to signal all available content has been consumed
|
protected void |
onContentQueued(ByteBuffer ref)
Called by this HttpInput to signal new content has been queued
|
void |
shutdown() |
String |
toString() |
get, onContentConsumed, remaining
available, consumeAll, content, isEarlyEOF, isShutdown, lock, onEOF, read, read, recycle
readLine
close, mark, markSupported, read, reset, skip
protected void blockForContent() throws IOException
blockForContent
in class HttpInput<ByteBuffer>
IOException
protected void onContentQueued(ByteBuffer ref)
HttpInput
onContentQueued
in class HttpInput<ByteBuffer>
public void earlyEOF()
HttpInput
earlyEOF
in class HttpInput<ByteBuffer>
public void shutdown()
shutdown
in class HttpInput<ByteBuffer>
protected void onAllContentConsumed()
HttpInput
onAllContentConsumed
in class HttpInput<ByteBuffer>
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.