public interface InputFilter extends InputBuffer
| Modifier and Type | Method and Description |
|---|---|
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.
|
available, doReadvoid setRequest(Request request)
request - The request to be associated with this filtervoid recycle()
ByteChunk getEncodingName()
void setBuffer(InputBuffer buffer)
buffer - The next bufferlong end() throws IOException
IOException - If an error happensboolean isFinished()
true if the request body has been fully read, otherwise
falseCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.