Methods Summary |
---|
public int | doWrite(org.apache.tomcat.util.buf.ByteChunk chunk, org.apache.coyote.Response res)Write some bytes.
return chunk.getLength();
|
public long | end()End the current request. It is acceptable to write extra bytes using
buffer.doWrite during the execution of this method.
return 0;
|
public org.apache.tomcat.util.buf.ByteChunk | getEncodingName()Return the name of the associated encoding; Here, the value is
"identity".
return ENCODING;
|
public void | recycle()Make the filter ready to process the next request.
|
public void | setBuffer(org.apache.coyote.OutputBuffer buffer)Set the next buffer in the filter pipeline.
this.buffer = buffer;
|
public void | setResponse(org.apache.coyote.Response response)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.
|