ApplicationContext-based initialization of reactive WebFilter, WebHandler, WebExceptionHandler infrastructure [SPR-14837] #19403
At present DispatcherHandler discovers the infrastructure it relies on in an ApplicationContext. The DispatchHandler however is itself expected to be instantiated and provided to the WebHttpHandlerBuilder along with instances of WebFilter and WebExceptionHandler.
As a practical example limitation the
The ability to declare WebExceptionHandler through WebReactiveConfigurer is also going to be very useful and along the same lines any properties that DispatcherHandler may expose in the future will be more easily configurable.
Spring Boot does mitigate these issues and has already done the same for Servlet-based applications. However on the reactive side it makes sense to provide a more complete ApplicationContext-based initialization mechanism for reactive web applictaions.
Affects: 5.0 M2
Referenced from: commits 33dbbce
The text was updated successfully, but these errors were encountered:
Rossen Stoyanchev commented