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, remainingavailable, consumeAll, content, isEarlyEOF, isShutdown, lock, onEOF, read, read, recycleclose, mark, markSupported, read, reset, skipprotected void blockForContent()
throws IOException
blockForContent in class HttpInput<ByteBuffer>IOExceptionprotected void onContentQueued(ByteBuffer ref)
HttpInputonContentQueued in class HttpInput<ByteBuffer>public void earlyEOF()
HttpInputearlyEOF in class HttpInput<ByteBuffer>public void shutdown()
shutdown in class HttpInput<ByteBuffer>protected void onAllContentConsumed()
HttpInputonAllContentConsumed in class HttpInput<ByteBuffer>Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.