EventFilter is an object that performs filtering
tasks on either the event request to a portlet, or on the event response from
a portlet, or both.
Filters perform filtering in the doFilter method. Every Filter has
access to a FilterConfig object from which it can obtain
its initialization parameters, a reference to the PortletContext
which it can use, for example, to load resources needed for filtering tasks.
Filters are configured in the portlet deployment descriptor of a portlet application.
| Modifier and Type | Method and Description |
|---|---|
| public void | doFilter(EventRequest
the current event request request, EventResponse the current event response response, FilterChain the remaining filter chain chain)The |
| doFilter | back to summary |
|---|---|
| public void doFilter(EventRequest request, EventResponse response, FilterChain chain) throws IOException, PortletException The
The
The
| |