public interface OutputFilter extends OutputBuffer
Modifier and Type | Method and Description |
---|---|
long |
end()
End the current request.
|
void |
recycle()
Make the filter ready to process the next request.
|
void |
setBuffer(OutputBuffer buffer)
Set the next buffer in the filter pipeline.
|
void |
setResponse(Response response)
Some filters need additional parameters from the response.
|
doWrite, doWrite, getBytesWritten
void setResponse(Response response)
response
- The response to associate with this OutputFiltervoid recycle()
void setBuffer(OutputBuffer buffer)
buffer
- The next buffer instancelong end() throws IOException
IOException
- If an I/O error occurs while writing to the clientCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.