Skip to content

Commit 0267b00

Browse files
committed
Minor update to Javadoc for HandlerInterceptor#postHandle
Closes gh-27122
1 parent c6e644e commit 0267b00

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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.
@@ -75,8 +75,9 @@
7575
public 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

Comments
 (0)