Skip to content

Instantly share code, notes, and snippets.

@khannedy
Last active October 15, 2017 01:41
Show Gist options
  • Save khannedy/20964603738fbcd88b799180c4c8fb7a to your computer and use it in GitHub Desktop.
Save khannedy/20964603738fbcd88b799180c4c8fb7a to your computer and use it in GitHub Desktop.
HandlerInterceptor
public interface HandlerInterceptor {
boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
throws Exception;
void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView)
throws Exception;
void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
throws Exception;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment