From 0267b00a65f43c6b1858fd8c03f293b9c9072a50 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 13 Jul 2021 07:01:31 +0100 Subject: [PATCH] Minor update to Javadoc for HandlerInterceptor#postHandle Closes gh-27122 --- .../web/servlet/HandlerInterceptor.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java index 355a5da6d669..09f126c747ef 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/HandlerInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,8 +75,9 @@ public interface HandlerInterceptor { /** - * Intercept the execution of a handler. Called after HandlerMapping determined - * an appropriate handler object, but before HandlerAdapter invokes the handler. + * Interception point before the execution of a handler. Called after + * HandlerMapping determined an appropriate handler object, but before + * HandlerAdapter invokes the handler. *

DispatcherServlet processes a handler in an execution chain, consisting * of any number of interceptors, with the handler itself at the end. * With this method, each interceptor can decide to abort the execution chain, @@ -100,9 +101,10 @@ default boolean preHandle(HttpServletRequest request, HttpServletResponse respon } /** - * Intercept the execution of a handler. Called after HandlerAdapter actually - * invoked the handler, but before the DispatcherServlet renders the view. - * Can expose additional model objects to the view via the given ModelAndView. + * Interception point after successful execution of a handler. + * Called after HandlerAdapter actually invoked the handler, but before the + * DispatcherServlet renders the view. Can expose additional model objects + * to the view via the given ModelAndView. *

DispatcherServlet processes a handler in an execution chain, consisting * of any number of interceptors, with the handler itself at the end. * With this method, each interceptor can post-process an execution,