|
Openfire 3.8.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PluginFilter.SimpleFilter
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 | |
---|---|
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. |
Method Detail |
---|
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 response
IOException
- if an IOException occurs.
javax.servlet.ServletException
- if a servlet exception occurs.
|
Openfire 3.8.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |