Interface WebFluxRegistrations
public interface WebFluxRegistrations
Interface to register key components of the
WebFluxAutoConfiguration in place
of the default ones provided by Spring WebFlux.
All custom instances are later processed by Boot and Spring WebFlux configurations. A single instance of this component should be registered, otherwise making it impossible to choose from redundant WebFlux components.
- Since:
- 2.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapterReturn the customRequestMappingHandlerAdapterthat should be used and processed by the WebFlux configuration.default org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMappingReturn the customRequestMappingHandlerMappingthat should be used and processed by the WebFlux configuration.
-
Method Details
-
getRequestMappingHandlerMapping
default org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()Return the customRequestMappingHandlerMappingthat should be used and processed by the WebFlux configuration.- Returns:
- the custom
RequestMappingHandlerMappinginstance
-
getRequestMappingHandlerAdapter
default org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()Return the customRequestMappingHandlerAdapterthat should be used and processed by the WebFlux configuration.- Returns:
- the custom
RequestMappingHandlerAdapterinstance
-