public class CartResolutionFilter
extends org.springframework.web.filter.OncePerRequestFilter
CartHolder
bean.Constructor and Description |
---|
CartResolutionFilter(ServletRequestCartResolver cartResolver,
CartHolder<com.broadleafcommerce.cart.client.domain.Cart> requestCartHolder) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected ServletRequestCartResolver |
getCartResolver() |
protected CartHolder<com.broadleafcommerce.cart.client.domain.Cart> |
getRequestCartHolder() |
protected org.springframework.security.web.util.matcher.RequestMatcher |
getRequestMatcher() |
void |
setRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher requestMatcher) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
public CartResolutionFilter(ServletRequestCartResolver cartResolver, CartHolder<com.broadleafcommerce.cart.client.domain.Cart> requestCartHolder)
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, IOException
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
javax.servlet.ServletException
IOException
protected ServletRequestCartResolver getCartResolver()
protected CartHolder<com.broadleafcommerce.cart.client.domain.Cart> getRequestCartHolder()
protected org.springframework.security.web.util.matcher.RequestMatcher getRequestMatcher()
public void setRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher requestMatcher)
Copyright © 2021. All rights reserved.