Interface BeforeControllerHandler
-
- All Known Implementing Classes:
CartPageBeforeControllerHandler,DeviceDetectionBeforeControllerHandler,FlashBuyBeforeControllerHandler,RequireHardLoginBeforeControllerHandler,SecurePortalBeforeControllerHandler,SecurityEmailCheckBeforeControllerHandler,SecurityUserCheckBeforeControllerHandler,SetLanguageBeforeControllerHandler,SetUiExperienceBeforeControllerHandler,ThemeBeforeControllerHandler
public interface BeforeControllerHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbeforeController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod handler)Called before the DispatcherServlet calls the controller.
-
-
-
Method Detail
-
beforeController
boolean beforeController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod handler) throws java.lang.ExceptionCalled before the DispatcherServlet calls the controller.- Parameters:
request- current HTTP requestresponse- current HTTP response- Returns:
trueif 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:
java.lang.Exception- in case of errors
-
-