Class DeviceDetectionBeforeControllerHandler

java.lang.Object
de.hybris.platform.travelacceleratorstorefront.interceptors.beforecontroller.DeviceDetectionBeforeControllerHandler
All Implemented Interfaces:
BeforeControllerHandler

public class DeviceDetectionBeforeControllerHandler extends Object implements BeforeControllerHandler
An interceptor to set up the request the detected device information.
  • Constructor Details

    • DeviceDetectionBeforeControllerHandler

      public DeviceDetectionBeforeControllerHandler()
  • Method Details

    • beforeController

      public boolean beforeController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod handler)
      Description copied from interface: BeforeControllerHandler
      Called before the DispatcherServlet calls the controller.
      Specified by:
      beforeController in interface BeforeControllerHandler
      Parameters:
      request - current HTTP request
      response - current HTTP response
      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.