Add customizer callback for WebHttpHandlerBuilder
Add a new interface for customizing the WebHttpHandlerBuilder before the HttpHandler is built from it. See gh-39467
This commit is contained in:
committed by
Scott Frederick
parent
a40ae6118b
commit
0a11cdcc33
@@ -44,6 +44,8 @@ The auto-configuration adds the following features on top of Spring's defaults:
|
||||
|
||||
If you want to keep Spring Boot WebFlux features and you want to add additional {spring-framework-docs}/web/webflux/config.html[WebFlux configuration], you can add your own `@Configuration` class of type `WebFluxConfigurer` but *without* `@EnableWebFlux`.
|
||||
|
||||
If you want to add additional customization to the auto-configured `HttpHandler`, you can define beans of type `WebHttpHandlerBuilderCustomizer` and use them to modify the `WebHttpHandlerBuilder`.
|
||||
|
||||
If you want to take complete control of Spring WebFlux, you can add your own `@Configuration` annotated with `@EnableWebFlux`.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user