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.
Method Summary |
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 |
Methods inherited from class com.atlassian.core.filters.AbstractHttpFilter |
destroy, doFilter, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBootstrapHotSwappingFilter
public AbstractBootstrapHotSwappingFilter()
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 java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in class com.atlassian.core.filters.AbstractHttpFilter
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2003-2014 Atlassian. All Rights Reserved.