Spring webflux error handler: How to get the reactor context of the request in the error handler?
问题 Spring boot 2.1.5 Project Reactor 3.2.9 In my webflux project, I extensively use the reactor contexts in order to pass around some values. My purpose here is to be able to get the context inside of the Exception handler. A simple example: @Component @Order(-2) public class GlobalErrorWebExceptionHandler extends AbstractErrorWebExceptionHandler { public GlobalErrorWebExceptionHandler(ErrorAttributes errorAttributes, ResourceProperties resourceProperties, ApplicationContext applicationContext,