Skip to content

Commit

Permalink
[add]mvc part rewrite.
Browse files Browse the repository at this point in the history
  • Loading branch information
teaho2015 committed Nov 24, 2021
1 parent 7c6b347 commit 8a738d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mvc/spring_mvc_runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ this.returnValueHandlers.handleReturnValue(
processDispatchResult(processedRequest, response, mappedHandler, mv, dispatchException);
~~~

上面的方法里面的实现比较简单,就是按顺序调用DispatcherServlet的HandlerExceptionResolver集合的resolveException方法,如果有返回值就停止调用并返回。

额外说说,ExceptionHandlerExceptionResolver的调用



Expand Down

0 comments on commit 8a738d1

Please sign in to comment.