Top Description Methods
javax.portlet.filter

public Interface FilterChain

Imports
java.io.IOException, javax.portlet.ActionRequest, .ActionResponse, .EventRequest, .EventResponse, .PortletException, .RenderRequest, .RenderResponse, .ResourceRequest, .ResourceResponse

A FilterChain is an object provided by the portlet container to the developer giving a view into the invocation chain of a filtered request for a portlet. Filters use the FilterChain to invoke the next filter in the chain, or if the calling filter is the last filter in the chain, to invoke the portlet at the end of the chain.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public void
doFilter(ActionRequest
the current action request.
request
,
ActionResponse
the current action response
response
)

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

public void
doFilter(EventRequest
the current event request.
request
,
EventResponse
the current event response.
response
)

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

public void
doFilter(RenderRequest
the current render request.
request
,
RenderResponse
the current render response.
response
)

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

public void
doFilter(ResourceRequest
the current resource request.
request
,
ResourceResponse
the current resource response.
response
)

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

Method Detail

doFilterback to summary
public void doFilter(ActionRequest request, ActionResponse response) throws IOException, PortletException

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

Parameters
request:ActionRequest

the current action request.

response:ActionResponse

the current action response

Exceptions
IOException:
if an IO error occurred in the filter processing
PortletException:
if a portlet exception occurred in the filter processing
doFilterback to summary
public void doFilter(EventRequest request, EventResponse response) throws IOException, PortletException

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

Parameters
request:EventRequest

the current event request.

response:EventResponse

the current event response.

Exceptions
IOException:
if an IO error occured in the filter processing
PortletException:
if a portlet exception occured in the filter processing
doFilterback to summary
public void doFilter(RenderRequest request, RenderResponse response) throws IOException, PortletException

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

Parameters
request:RenderRequest

the current render request.

response:RenderResponse

the current render response.

Exceptions
IOException:
if an IO error occurred in the filter processing
PortletException:
if a portlet exception occurred in the filter processing
doFilterback to summary
public void doFilter(ResourceRequest request, ResourceResponse response) throws IOException, PortletException

Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the portlet at the end of the chain to be invoked.

Parameters
request:ResourceRequest

the current resource request.

response:ResourceResponse

the current resource response.

Exceptions
IOException:
if an IO error occurred in the filter processing
PortletException:
if a portlet exception occurred in the filter processing