Class CxPersonalizationFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.web.filter.OncePerRequestFilter
-
- de.hybris.platform.personalizationservices.filter.CxPersonalizationFilter
-
- 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 CxPersonalizationFilter extends org.springframework.web.filter.OncePerRequestFilterFilter activating personalization in session and run recalculation based on voters preferences
-
-
Constructor Summary
Constructors Constructor Description CxPersonalizationFilter()
-
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)protected CxRecalculationServicegetCxRecalculationService()protected java.util.List<RecalculateAction>getOrderedActionList()Deprecated, for removal: This API element is subject to removal in a future version.since 1811 because actions are ordered in DefaultCxRecalculationServiceprotected PersonalizationHandlergetPersonalizationHandler()voidsetCxRecalculationService(CxRecalculationService cxRecalculationService)voidsetOrderedActionList(java.util.List<RecalculateAction> orderedActionList)Deprecated, for removal: This API element is subject to removal in a future version.since 1811 UseDefaultCxRecalculationService.setOrderedActionList(List)to set action ordervoidsetPersonalizationHandler(PersonalizationHandler personalizationHandler)-
Methods inherited from class org.springframework.web.filter.OncePerRequestFilter
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
-
-
-
-
Method Detail
-
doFilterInternal
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, java.io.IOException- Specified by:
doFilterInternalin classorg.springframework.web.filter.OncePerRequestFilter- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
setCxRecalculationService
public void setCxRecalculationService(CxRecalculationService cxRecalculationService)
-
getOrderedActionList
@Deprecated(since="1811", forRemoval=true) protected java.util.List<RecalculateAction> getOrderedActionList()Deprecated, for removal: This API element is subject to removal in a future version.since 1811 because actions are ordered in DefaultCxRecalculationService
-
setOrderedActionList
@Deprecated(since="1811", forRemoval=true) public void setOrderedActionList(java.util.List<RecalculateAction> orderedActionList)Deprecated, for removal: This API element is subject to removal in a future version.since 1811 UseDefaultCxRecalculationService.setOrderedActionList(List)to set action orderSet list based on which action will be sorted.- Parameters:
orderedActionList- Actions in order to execute
-
getCxRecalculationService
protected CxRecalculationService getCxRecalculationService()
-
getPersonalizationHandler
protected PersonalizationHandler getPersonalizationHandler()
-
setPersonalizationHandler
public void setPersonalizationHandler(PersonalizationHandler personalizationHandler)
-
-