public interface InputFilter extends InputBuffer
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isFinished()
Has the request body been read fully?
|
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.
|
int doRead(ByteChunk chunk, Request unused) throws IOException
doRead
in interface InputBuffer
IOException
void setRequest(Request request)
void recycle()
ByteChunk getEncodingName()
void setBuffer(InputBuffer buffer)
long end() throws IOException
IOException
int available()
boolean isFinished()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.