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:
4.0.0
See Also:
  • WebFluxAutoConfiguration.EnableWebFluxConfiguration
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter
    Return the custom RequestMappingHandlerAdapter that should be used and processed by the WebFlux configuration.
    default @Nullable org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping
    Return the custom RequestMappingHandlerMapping that should be used and processed by the WebFlux configuration.
  • Method Details

    • getRequestMappingHandlerMapping

      default @Nullable org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()
      Return the custom RequestMappingHandlerMapping that should be used and processed by the WebFlux configuration.
      Returns:
      the custom RequestMappingHandlerMapping instance
    • getRequestMappingHandlerAdapter

      default @Nullable org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
      Return the custom RequestMappingHandlerAdapter that should be used and processed by the WebFlux configuration.
      Returns:
      the custom RequestMappingHandlerAdapter instance