11/*
2- * Copyright 2002-2020 the original author or authors.
2+ * Copyright 2002-2021 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
7575public interface HandlerInterceptor {
7676
7777 /**
78- * Intercept the execution of a handler. Called after HandlerMapping determined
79- * an appropriate handler object, but before HandlerAdapter invokes the handler.
78+ * Interception point before the execution of a handler. Called after
79+ * HandlerMapping determined an appropriate handler object, but before
80+ * HandlerAdapter invokes the handler.
8081 * <p>DispatcherServlet processes a handler in an execution chain, consisting
8182 * of any number of interceptors, with the handler itself at the end.
8283 * With this method, each interceptor can decide to abort the execution chain,
@@ -100,9 +101,10 @@ default boolean preHandle(HttpServletRequest request, HttpServletResponse respon
100101 }
101102
102103 /**
103- * Intercept the execution of a handler. Called after HandlerAdapter actually
104- * invoked the handler, but before the DispatcherServlet renders the view.
105- * Can expose additional model objects to the view via the given ModelAndView.
104+ * Interception point after successful execution of a handler.
105+ * Called after HandlerAdapter actually invoked the handler, but before the
106+ * DispatcherServlet renders the view. Can expose additional model objects
107+ * to the view via the given ModelAndView.
106108 * <p>DispatcherServlet processes a handler in an execution chain, consisting
107109 * of any number of interceptors, with the handler itself at the end.
108110 * With this method, each interceptor can post-process an execution,
0 commit comments