Package com.atlassian.confluence.tenant
Class TenantGateFilter
- java.lang.Object
-
- com.atlassian.core.filters.AbstractHttpFilter
-
- com.atlassian.confluence.tenant.TenantGateFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
@Deprecated(forRemoval=true) public class TenantGateFilter extends com.atlassian.core.filters.AbstractHttpFilter
Deprecated, for removal: This API element is subject to removal in a future version.since 8.6Allows setting a permit for HTTP workers for theThreadLocalTenantGate
despite of its state.This can be used to let setup code modify tenanted resources before they're made available to a broader audience (vacant instance).
- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description TenantGateFilter()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
Deprecated, for removal: This API element is subject to removal in a future version.void
init(javax.servlet.FilterConfig filterConfig)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
init
in interfacejavax.servlet.Filter
- Overrides:
init
in classcom.atlassian.core.filters.AbstractHttpFilter
- Throws:
javax.servlet.ServletException
-
doFilter
protected void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
doFilter
in classcom.atlassian.core.filters.AbstractHttpFilter
- Throws:
IOException
javax.servlet.ServletException
-
-