public static interface PluginFilter.SimpleFilter
Modifier and Type | Method and Description |
---|---|
boolean |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
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.
|
boolean doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws IOException, javax.servlet.ServletException
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.
request
- the servlet request.response
- the servlet responseIOException
- if an IOException occurs.javax.servlet.ServletException
- if a servlet exception occurs.Copyright © 2003-2008 Jive Software.