All Implemented Interfaces:
Void output filter, which silently swallows bytes written. Used with a 204
status (no content) or a HEAD request.
Author: Remy Maucherat
Modifier and Type
Method and Description
( doWrite ByteChunk chunk,
Write some bytes.
End the current request.
Bytes written to the underlying socket.
Make the filter ready to process the next request.
( setBuffer OutputBuffer buffer)
Set the next buffer in the filter pipeline.
( setResponse Response response)
Some filters need additional parameters from the response.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public long getBytesWritten()
Bytes written to the underlying socket. This includes the effects of
chunking, compression, etc.
getBytesWritten OutputBuffer Returns: Bytes written for the current request
public void setResponse(
Some filters need additional parameters from the response. All the
necessary reading can occur in that method, as this method is called
after the response header processing is complete.
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.