Class DynamicTenantSwitchingFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.web.filter.OncePerRequestFilter
-
- de.hybris.platform.servicelayer.web.DynamicTenantSwitchingFilter
-
- All Implemented Interfaces:
javax.servlet.Filter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable,org.springframework.web.context.ServletContextAware
@Deprecated public class DynamicTenantSwitchingFilter extends org.springframework.web.filter.OncePerRequestFilterDeprecated.since 5.0, please use the filter chain.Filter which takes care of switching the given tenant by parsing the URL. Logic which determines tenant comes from static tenant configuration.
-
-
Constructor Summary
Constructors Constructor Description DynamicTenantSwitchingFilter()Deprecated.DynamicTenantSwitchingFilter(java.lang.String tenantIDPattern)Deprecated.since ages
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voiddoFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)Deprecated.-
Methods inherited from class org.springframework.web.filter.OncePerRequestFilter
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
-
-
-
-
Constructor Detail
-
DynamicTenantSwitchingFilter
@Deprecated public DynamicTenantSwitchingFilter(java.lang.String tenantIDPattern)
Deprecated.since agesThe tenant ID pattern can only be set during initialization/startup of the platform.
-
DynamicTenantSwitchingFilter
public DynamicTenantSwitchingFilter()
Deprecated.- Since:
- 5.0
-
-
Method Detail
-
doFilterInternal
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws java.io.IOException, javax.servlet.ServletExceptionDeprecated.- Specified by:
doFilterInternalin classorg.springframework.web.filter.OncePerRequestFilter- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-