Package com.atlassian.confluence.util
Class AbstractBootstrapHotSwappingFilter
java.lang.Object
com.atlassian.confluence.servlet.AbstractHttpFilter
com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter
- All Implemented Interfaces:
javax.servlet.Filter
- Direct Known Subclasses:
ConfluenceTrustedApplicationsFilter
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddoFilter(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, javax.servlet.FilterChain filterChain) abstract javax.servlet.FilterThe filter to use once the container manager is availableMethods inherited from class com.atlassian.confluence.servlet.AbstractHttpFilter
doFilterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.servlet.Filter
destroy, init
-
Constructor Details
-
AbstractBootstrapHotSwappingFilter
public AbstractBootstrapHotSwappingFilter()
-
-
Method Details
-
getSwapTarget
public abstract javax.servlet.Filter getSwapTarget() throws javax.servlet.ServletExceptionThe 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:
doFilterin classAbstractHttpFilter- Throws:
IOExceptionjavax.servlet.ServletException
-