| Modifier and Type | Field and Description |
|---|---|
| private InputBuffer | |
| private ByteChunk | |
| private static final ByteChunk | |
| private static final String | |
| private boolean | |
| private final int | |
| private static final StringManager | |
| private ByteBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Implements org. Obtain an estimate of the number of bytes that can be read without blocking. |
| public int | doRead(ApplicationBufferHandler
ApplicationBufferHandler that provides the buffer to read data into. handler)Implements org. Fills the given ByteBuffer with the buffered request body. |
| public long | |
| public void | |
| public ByteBuffer | |
| public ByteChunk | getEncodingName()
Implements org. Get the name of the encoding handled by this filter. |
| public boolean | isFinished()
Implements org. Has the request body been read fully? |
| public void | recycle()
Implements org. Make the filter ready to process the next request. |
| public void | setBuffer(InputBuffer
The next buffer buffer)Implements org. Set the next buffer in the filter pipeline. |
| public void | |
| public void | |
| public void | setRequest(Request
The request to be associated with this filter request)Implements org. Reads the request body and buffers it. |
| buffer | back to summary |
|---|---|
| private InputBuffer buffer | |
| buffered | back to summary |
|---|---|
| private ByteChunk buffered | |
| ENCODING | back to summary |
|---|---|
| private static final ByteChunk ENCODING | |
| ENCODING_NAME | back to summary |
|---|---|
| private static final String ENCODING_NAME | |
| hasRead | back to summary |
|---|---|
| private boolean hasRead | |
| maxSwallowSize | back to summary |
|---|---|
| private final int maxSwallowSize | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| tempRead | back to summary |
|---|---|
| private ByteBuffer tempRead | |
| BufferedInputFilter | back to summary |
|---|---|
| public BufferedInputFilter(int maxSwallowSize) | |
| available | back to summary |
|---|---|
| public int available() Implements org. Doc from org. Obtain an estimate of the number of bytes that can be read without blocking. Typically, this will be the number of available bytes known to be buffered.
| |
| doRead | back to summary |
|---|---|
| public int doRead(ApplicationBufferHandler handler) throws IOException Implements org. Fills the given ByteBuffer with the buffered request body.
| |
| end | back to summary |
|---|---|
| public long end() throws IOException Implements org. Doc from org. End the current request.
| |
| expand | back to summary |
|---|---|
| public void expand(int size) Implements org.
| |
| getByteBuffer | back to summary |
|---|---|
| public ByteBuffer getByteBuffer() Implements org.
| |
| getEncodingName | back to summary |
|---|---|
| public ByteChunk getEncodingName() Implements org. Doc from org. Get the name of the encoding handled by this filter. | |
| isFinished | back to summary |
|---|---|
| public boolean isFinished() Implements org. Doc from org. Has the request body been read fully?
| |
| recycle | back to summary |
|---|---|
| public void recycle() Implements org. Doc from org. Make the filter ready to process the next request.
| |
| setBuffer | back to summary |
|---|---|
| public void setBuffer(InputBuffer buffer) Implements org. Doc from org. Set the next buffer in the filter pipeline.
| |
| setByteBuffer | back to summary |
|---|---|
| public void setByteBuffer(ByteBuffer buffer) Implements org.
| |
| setLimit | back to summary |
|---|---|
| public void setLimit(int limit) Set the buffering limit. This should be reset every time the buffer is used.
| |
| setRequest | back to summary |
|---|---|
| public void setRequest(Request request) Implements org. Reads the request body and buffers it.
| |