Class FlashBuyBeforeControllerHandler
java.lang.Object
de.hybris.platform.timedaccesspromotionengineaddon.interceptors.beforecontroller.FlashBuyBeforeControllerHandler
- All Implemented Interfaces:
BeforeControllerHandler
Sets the cart flash buy status
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbeforeController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod handler) Updates the flash buy status for cart when placing order
-
Constructor Details
-
FlashBuyBeforeControllerHandler
public FlashBuyBeforeControllerHandler()
-
-
Method Details
-
beforeController
public boolean beforeController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod handler) Updates the flash buy status for cart when placing order- Specified by:
beforeControllerin interfaceBeforeControllerHandler- Parameters:
request- the http requestresponse- the http responsehandler- Handler method- Returns:
- true if the execution chain should proceed with the next interceptor or the handler itself, else DispatcherServlet assumes that this interceptor has already dealt with the response itself
- Throws:
Exception- throw Exception when updating flash buy status failed
-