|
Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.coyote.http11.filters.BufferedInputFilter
public class BufferedInputFilter
Input filter responsible for reading and buffering the request body, so that it does not interfere with client SSL handshake messages.
| Constructor Summary | |
|---|---|
BufferedInputFilter()
|
|
| Method Summary | |
|---|---|
int |
available()
Amount of bytes still available in a buffer. |
int |
doRead(ByteChunk chunk,
Request request)
Fills the given ByteChunk with the buffered request body. |
long |
end()
End the current request. |
ByteChunk |
getEncodingName()
Get the name of the encoding handled by this filter. |
void |
recycle()
Make the filter ready to process the next request. |
void |
setBuffer(InputBuffer buffer)
Set the next buffer in the filter pipeline. |
void |
setLimit(int limit)
Set the buffering limit. |
void |
setRequest(Request request)
Reads the request body and buffers it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferedInputFilter()
| Method Detail |
|---|
public void setLimit(int limit)
public void setRequest(Request request)
setRequest in interface InputFilter
public int doRead(ByteChunk chunk,
Request request)
throws java.io.IOException
doRead in interface InputFilterdoRead in interface InputBufferjava.io.IOExceptionpublic void setBuffer(InputBuffer buffer)
InputFilter
setBuffer in interface InputFilterpublic void recycle()
InputFilter
recycle in interface InputFilterpublic ByteChunk getEncodingName()
InputFilter
getEncodingName in interface InputFilter
public long end()
throws java.io.IOException
InputFilter
end in interface InputFilterjava.io.IOExceptionpublic int available()
InputFilter
available in interface InputFilter
|
Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||