|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Output filter.
Method Summary | |
int |
doWrite(ByteChunk chunk,
Response unused)
Write some 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(OutputBuffer buffer)
Set the next buffer in the filter pipeline. |
void |
setResponse(Response response)
Some filters need additional parameters from the response. |
Method Detail |
public int doWrite(ByteChunk chunk, Response unused) throws java.io.IOException
doWrite
in interface OutputBuffer
chunk
- data to writeunused
- used to allow buffers that can be shared by multiple responses.
java.io.IOException
public void setResponse(Response response)
public void recycle()
public ByteChunk getEncodingName()
public void setBuffer(OutputBuffer buffer)
public long end() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |