java.lang.Object |
↳ |
com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter |
Class Overview
Applications need to create a concrete subclass of this for use in their filter stack. This filters responsiblity
is to retrieve the filters to be applied to the request from the ServletModuleManager
and build a
FilterChain from them. Once all the filters in the chain have been applied to the request, this filter
returns control to the main chain.
There is one init parameters that must be configured for this filter, the "location" parameter. It can be one of
"top", "middle" or "bottom". A filter with a "top" location must appear before the filter with a "middle" location
which must appear before a filter with a "bottom" location. Where any other application filters lie in the filter
stack is completely up to the application.
Summary
Public Methods |
void
|
destroy()
|
void
|
doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
|
void
|
init(FilterConfig filterConfig)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
javax.servlet.Filter
void
|
destroy()
|
void
|
doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
|
void
|
init(FilterConfig arg0)
|
|
Public Constructors
public
ServletFilterModuleContainerFilter
()
Public Methods
public
void
doFilter
(ServletRequest request, ServletResponse response, FilterChain chain)
public
void
init
(FilterConfig filterConfig)
Protected Methods
protected
final
FilterConfig
getFilterConfig
()