public class CoffeeNetNavigationInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
HandlerInterceptorAdapter intercepts all communication between the application
controllers and the frontend to provide all necessary information for the frontend with server side rendering
engines like thymeleaf. Does only intercept if the request is not a redirect and contains a
ModelAndView| Modifier and Type | Method and Description |
|---|---|
void |
postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView) |
public void postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView)
throws Exception
postHandle in interface org.springframework.web.servlet.HandlerInterceptorpostHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionCopyright © 2019 Pivotal Software, Inc.. All rights reserved.