Package com.atlassian.confluence.util
Class AbstractBootstrapHotSwappingFilter
- java.lang.Object
-
- com.atlassian.core.filters.AbstractHttpFilter
-
- com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
- Direct Known Subclasses:
ConfigurableBootstrapHotSwappingFilter
,ConfluenceTrustedApplicationsFilter
public abstract class AbstractBootstrapHotSwappingFilter extends com.atlassian.core.filters.AbstractHttpFilter
Abstact filter class which will delegate to a particular filter once the container manager is setup. This is useful for web filters that must collaborate with Spring components.
-
-
Constructor Summary
Constructors Constructor Description AbstractBootstrapHotSwappingFilter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
doFilter(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.servlet.FilterChain filterChain)
abstract javax.servlet.Filter
getSwapTarget()
The filter to use once the container manager is available
-
-
-
Method Detail
-
getSwapTarget
public abstract javax.servlet.Filter getSwapTarget() throws javax.servlet.ServletException
The filter to use once the container manager is available- Returns:
- filter to delegate to
- Throws:
javax.servlet.ServletException
-
doFilter
public final void doFilter(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
- Specified by:
doFilter
in classcom.atlassian.core.filters.AbstractHttpFilter
- Throws:
IOException
javax.servlet.ServletException
-
-