本文主要是介绍Spring中HandlerInterceptor源码,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
HandlerInterceptor源码
package org.springframework.web.servlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.ModelAndView; public interface HandlerInterceptor {boolean preHandle(HttpServletRequest var1, HttpServletResponse var2, Object var3) throws Exception; void postHandle(HttpServletRequest var1, HttpServletResponse var2, Object var3, ModelAndView var4) throws Exception; void afterCompletion(HttpServletRequest var1, HttpServletResponse var2, Object var3, Exception var4) throws Exception; }
这篇关于Spring中HandlerInterceptor源码的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!