Package org.apache.coyote.http11
Interface OutputFilter
- All Superinterfaces:
- HttpOutputBuffer,- OutputBuffer
- All Known Implementing Classes:
- ChunkedOutputFilter,- GzipOutputFilter,- IdentityOutputFilter,- VoidOutputFilter
Output filter.
- Author:
- Remy Maucherat
- 
Method SummaryModifier and TypeMethodDescriptionvoidrecycle()Make the filter ready to process the next request.voidsetBuffer(HttpOutputBuffer buffer) Set the next buffer in the filter pipeline.voidsetResponse(Response response) Some filters need additional parameters from the response.Methods inherited from interface org.apache.coyote.http11.HttpOutputBufferend, flushMethods inherited from interface org.apache.coyote.OutputBufferdoWrite, getBytesWritten
- 
Method Details- 
setResponseSome 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.- Parameters:
- response- The response to associate with this OutputFilter
 
- 
recyclevoid recycle()Make the filter ready to process the next request.
- 
setBufferSet the next buffer in the filter pipeline.- Parameters:
- buffer- The next buffer instance
 
 
-