Package jakarta.portlet.filter
Interface FilterChain
-
public interface FilterChainAFilterChainis 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 theFilterChainto 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoFilter(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.voiddoFilter(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.voiddoFilter(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.voiddoFilter(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.
-
-
-
Method Detail
-
doFilter
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- the current action request.response- the current action response- Throws:
IOException- if an IO error occurred in the filter processingPortletException- if a portlet exception occurred in the filter processing
-
doFilter
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- the current event request.response- the current event response.- Throws:
IOException- if an IO error occured in the filter processingPortletException- if a portlet exception occured in the filter processing
-
doFilter
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- the current render request.response- the current render response.- Throws:
IOException- if an IO error occurred in the filter processingPortletException- if a portlet exception occurred in the filter processing
-
doFilter
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- the current resource request.response- the current resource response.- Throws:
IOException- if an IO error occurred in the filter processingPortletException- if a portlet exception occurred in the filter processing
-
-