|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.coyote.http11.filters.SavedRequestInputFilter
public class SavedRequestInputFilter
Input filter responsible for replaying the request body when restoring the saved request after FORM authentication.
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ByteChunk input
Constructor Detail |
---|
public SavedRequestInputFilter(ByteChunk input)
input
- The saved request body to be replayed.Method Detail |
---|
public int doRead(ByteChunk chunk, Request request) throws java.io.IOException
doRead
in interface InputFilter
doRead
in interface InputBuffer
java.io.IOException
public void setRequest(Request request)
setRequest
in interface InputFilter
public void recycle()
recycle
in interface InputFilter
public ByteChunk getEncodingName()
getEncodingName
in interface InputFilter
public void setBuffer(InputBuffer buffer)
setBuffer
in interface InputFilter
public int available()
available
in interface InputFilter
public long end() throws java.io.IOException
end
in interface InputFilter
java.io.IOException
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |