| Modifier and Type | Field and Description |
|---|---|
| protected ByteChunk | input
The original request body. |
| Access | Constructor and Description |
|---|---|
| public | SavedRequestInputFilter(ByteChunk
The saved request body to be replayed. input)Create a new SavedRequestInputFilter. |
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Implements org. Amount of bytes still available in a buffer. |
| public int | doRead(ApplicationBufferHandler
ApplicationBufferHandler that provides the buffer to read data into. handler)Implements org. Read from the input stream into the ByteBuffer provided by the ApplicationBufferHandler. |
| public long | |
| public ByteChunk | getEncodingName()
Implements org. Return the name of the associated encoding; here, the value is null. |
| 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 (has no effect). |
| public void | setRequest(Request
The request to be associated with this filter request)Implements org. Set the content length on the request. |
| input | back to summary |
|---|---|
| protected ByteChunk input The original request body. | |
| SavedRequestInputFilter | back to summary |
|---|---|
| public SavedRequestInputFilter(ByteChunk input) Create a new SavedRequestInputFilter.
| |
| available | back to summary |
|---|---|
| public int available() Implements org. Amount of bytes still available in a buffer.
| |
| doRead | back to summary |
|---|---|
| public int doRead(ApplicationBufferHandler handler) throws IOException Implements org. Doc from org. Read from the input stream into the ByteBuffer provided by the ApplicationBufferHandler. Important Note the current model assumes that the protocol will 'own' the ByteBuffer and return a pointer to it.
| |
| end | back to summary |
|---|---|
| public long end() throws IOException Implements org. End the current request (has no effect).
| |
| getEncodingName | back to summary |
|---|---|
| public ByteChunk getEncodingName() Implements org. Return the name of the associated encoding; here, the value is null.
| |
| 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. Make the filter ready to process the next request.
| |
| setBuffer | back to summary |
|---|---|
| public void setBuffer(InputBuffer buffer) Implements org. Set the next buffer in the filter pipeline (has no effect).
| |
| setRequest | back to summary |
|---|---|
| public void setRequest(Request request) Implements org. Set the content length on the request.
| |