Package org.jivesoftware.admin
Interface PluginFilter.SimpleFilter
-
- Enclosing class:
- PluginFilter
@Deprecated public static interface PluginFilter.SimpleFilter
Deprecated.UseFilter
instead.A simplified version of a servlet filter. Instead of having full control over the filter chain, a simple filter can only control whether further filters in the chain are run.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
Deprecated.The doFilter method of the Filter is called by the PluginFilter each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.
-
-
-
Method Detail
-
doFilter
boolean doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws IOException, javax.servlet.ServletException
Deprecated.The doFilter method of the Filter is called by the PluginFilter each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain. This method should returntrue
if the additional filters in the chain should be processed orfalse
if no additional filters should be run.Note that the filter will apply to all requests for JSP pages in the admin console and not just requests in the respective plugins. To only apply filtering to individual plugins, examine the context path of the request and only filter relevant requests.
- Parameters:
request
- the servlet request.response
- the servlet response- Returns:
- true if further filters in the chain should be run.
- Throws:
IOException
- if an IOException occurs.javax.servlet.ServletException
- if a servlet exception occurs.
-
-