Class DynamicCatalogVersionActivationFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter
-
- 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
public class DynamicCatalogVersionActivationFilter extends org.springframework.web.filter.GenericFilterBeanDynamicCatalogVersionActivationFilter takes care of activating the catalog versions at runtime.
-
-
Constructor Summary
Constructors Constructor Description DynamicCatalogVersionActivationFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)Before the filterChain gets processed, DynamicCatalogVersionActivationFilter takes care of activating the catalog versions properlyvoidsetCatalogService(CatalogService catalogService)voidsetCatalogVersionService(CatalogVersionService catalogVersionService)java.lang.StringtoString()
-
-
-
Method Detail
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws java.io.IOException, javax.servlet.ServletExceptionBefore the filterChain gets processed, DynamicCatalogVersionActivationFilter takes care of activating the catalog versions properly- Parameters:
request- the requestresponse- the responsefilterChain- the filterChain- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
setCatalogService
public void setCatalogService(CatalogService catalogService)
-
-