org.apache.coyote.http11.filters
Class VoidInputFilter
java.lang.Object
org.apache.coyote.http11.filters.VoidInputFilter
- InputBuffer, InputFilter
public class VoidInputFilter
extends java.lang.Object
Void input filter, which returns -1 when attempting a read. Used with a GET,
HEAD, or a similar request.
- Remy Maucherat
ENCODING
protected static final ByteChunk ENCODING
ENCODING_NAME
protected static final String ENCODING_NAME
end
public long end()
throws IOException
End the current request. It is acceptable to write extra bytes using
buffer.doWrite during the execution of this method.
- end in interface InputFilter
- Should return 0 unless the filter does some content length
delimitation, in which case the number is the amount of extra bytes or
missing bytes, which would indicate an error.
Note: It is recommended that extra bytes be swallowed by the filter.
recycle
public void recycle()
Make the filter ready to process the next request.
- recycle in interface InputFilter
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.