public class ByteBufferHttpInput extends HttpInput<ByteBuffer>
An implementation of HttpInput using ByteBuffer
as items.
Constructor and Description |
---|
ByteBufferHttpInput() |
Modifier and Type | Method and Description |
---|---|
protected int |
get(ByteBuffer item,
byte[] buffer,
int offset,
int length) |
protected void |
onContentConsumed(ByteBuffer item) |
protected int |
remaining(ByteBuffer item) |
available, blockForContent, consumeAll, content, earlyEOF, isEarlyEOF, isShutdown, lock, onAllContentConsumed, onContentQueued, onEOF, read, read, recycle, shutdown
readLine
close, mark, markSupported, read, reset, skip
protected int remaining(ByteBuffer item)
remaining
in class HttpInput<ByteBuffer>
protected int get(ByteBuffer item, byte[] buffer, int offset, int length)
get
in class HttpInput<ByteBuffer>
protected void onContentConsumed(ByteBuffer item)
onContentConsumed
in class HttpInput<ByteBuffer>
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.