org.apache.coyote.http11.filters
public class SavedRequestInputFilter extends Object implements InputFilter
Field Summary | |
---|---|
protected ByteChunk | input
The original request body. |
Constructor Summary | |
---|---|
SavedRequestInputFilter(ByteChunk input)
Create a new SavedRequestInputFilter.
|
Method Summary | |
---|---|
int | available()
Amount of bytes still available in a buffer. |
int | doRead(ByteChunk chunk, Request request)
Read bytes. |
long | end()
End the current request (has no effect). |
ByteChunk | getEncodingName()
Return the name of the associated encoding; here, the value is null. |
void | recycle()
Make the filter ready to process the next request. |
void | setBuffer(InputBuffer buffer)
Set the next buffer in the filter pipeline (has no effect). |
void | setRequest(Request request)
Set the content length on the request. |
Parameters: input The saved request body to be replayed.