java.lang.Object
de.hybris.platform.timedaccesspromotionengineaddon.interceptors.beforecontroller.FlashBuyBeforeControllerHandler
All Implemented Interfaces:
BeforeControllerHandler

public class FlashBuyBeforeControllerHandler extends Object implements BeforeControllerHandler
Sets the cart flash buy status
  • 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:
      beforeController in interface BeforeControllerHandler
      Parameters:
      request - the http request
      response - the http response
      handler - 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