| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InputFilter
Input filter interface.
| Method Summary | |
|---|---|
|  int | available()Amount of bytes still available in a buffer. | 
|  int | doRead(ByteChunk chunk,
       Request unused)Read bytes. | 
|  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 | setRequest(Request request)Some filters need additional parameters from the request. | 
| Method Detail | 
|---|
int doRead(ByteChunk chunk,
           Request unused)
           throws java.io.IOException
doRead in interface InputBufferjava.io.IOExceptionvoid setRequest(Request request)
void recycle()
ByteChunk getEncodingName()
void setBuffer(InputBuffer buffer)
long end()
         throws java.io.IOException
java.io.IOExceptionint available()
| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||