Top Description Methods
org.apache.coyote.http11

public Interface OutputFilter

extends HttpOutputBuffer
Known Direct Implementers
org.apache.coyote.http11.filters.ChunkedOutputFilter, org.apache.coyote.http11.filters.GzipOutputFilter, org.apache.coyote.http11.filters.IdentityOutputFilter, org.apache.coyote.http11.filters.VoidOutputFilter
Imports
org.apache.coyote.Response

Output filter.
Author
Remy Maucherat

Method Summary

Modifier and TypeMethod and Description
public void
recycle()

Make the filter ready to process the next request.

public void
setBuffer(HttpOutputBuffer
The next buffer instance
buffer
)

Set the next buffer in the filter pipeline.

public void
setResponse(Response
The response to associate with this OutputFilter
response
)

Some filters need additional parameters from the response.

Inherited from org.apache.coyote.http11.HttpOutputBuffer:
endflush

Method Detail

recycleback to summary
public void recycle()

Make the filter ready to process the next request.

setBufferback to summary
public void setBuffer(HttpOutputBuffer buffer)

Set the next buffer in the filter pipeline.

Parameters
buffer:HttpOutputBuffer

The next buffer instance

setResponseback to summary
public void setResponse(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.

Parameters
response:Response

The response to associate with this OutputFilter