public interface FilterChain
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.Modifier and Type | Method and Description |
---|---|
void |
doFilter(ActionRequest request,
ActionResponse 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.
|
void |
doFilter(EventRequest request,
EventResponse 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.
|
void |
doFilter(RenderRequest request,
RenderResponse 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.
|
void |
doFilter(ResourceRequest request,
ResourceResponse 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.
|
void doFilter(ActionRequest request, ActionResponse response) throws IOException, PortletException
request
- the current action request.response
- the current action responseIOException
- if an IO error occurred in the filter processingPortletException
- if a portlet exception occurred in the filter processingvoid doFilter(EventRequest request, EventResponse response) throws IOException, PortletException
request
- the current event request.response
- the current event response.IOException
- if an IO error occured in the filter processingPortletException
- if a portlet exception occured in the filter processingvoid doFilter(RenderRequest request, RenderResponse response) throws IOException, PortletException
request
- the current render request.response
- the current render response.IOException
- if an IO error occurred in the filter processingPortletException
- if a portlet exception occurred in the filter processingvoid doFilter(ResourceRequest request, ResourceResponse response) throws IOException, PortletException
request
- the current resource request.response
- the current resource response.IOException
- if an IO error occurred in the filter processingPortletException
- if a portlet exception occurred in the filter processingJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.