Add handling for AsyncRequestNotUsableException to ResponseEntityExceptionHandler #33225
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
The exception implies the response is no longer usable, and it is handled in
DefaultHandlerExceptionResolver
by not taking any action. However, as the resolver is ordered afterExceptionHandlerExceptionResolver
(i.e. handling via@ExceptionHandler
controller methods), it may not get a chance. We should also add handling inResponseEntityExceptionHandler
, which has a better chance of taking effect.The text was updated successfully, but these errors were encountered: