Interface RouterFunctionVisitorAdapter

  • All Superinterfaces:
    org.springframework.web.reactive.function.server.RouterFunctions.Visitor
    All Known Implementing Classes:
    ConsumingWebEndpointMappingAdapter

    public interface RouterFunctionVisitorAdapter
    extends org.springframework.web.reactive.function.server.RouterFunctions.Visitor
    The adapter interface for RouterFunctions.Visitor
    Since:
    1.0.0
    Author:
    Mercy
    See Also:
    RouterFunctions.Visitor, RouterFunction, RouterFunctions
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void attributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
      default void endNested​(org.springframework.web.reactive.function.server.RequestPredicate predicate)  
      default void resources​(java.util.function.Function<org.springframework.web.reactive.function.server.ServerRequest,​reactor.core.publisher.Mono<org.springframework.core.io.Resource>> lookupFunction)  
      default void route​(org.springframework.web.reactive.function.server.RequestPredicate predicate, org.springframework.web.reactive.function.server.HandlerFunction<?> handlerFunction)  
      default void startNested​(org.springframework.web.reactive.function.server.RequestPredicate predicate)  
      default void unknown​(org.springframework.web.reactive.function.server.RouterFunction<?> routerFunction)  
    • Method Detail

      • startNested

        default void startNested​(org.springframework.web.reactive.function.server.RequestPredicate predicate)
        Specified by:
        startNested in interface org.springframework.web.reactive.function.server.RouterFunctions.Visitor
      • endNested

        default void endNested​(org.springframework.web.reactive.function.server.RequestPredicate predicate)
        Specified by:
        endNested in interface org.springframework.web.reactive.function.server.RouterFunctions.Visitor
      • route

        default void route​(org.springframework.web.reactive.function.server.RequestPredicate predicate,
                           org.springframework.web.reactive.function.server.HandlerFunction<?> handlerFunction)
        Specified by:
        route in interface org.springframework.web.reactive.function.server.RouterFunctions.Visitor
      • resources

        default void resources​(java.util.function.Function<org.springframework.web.reactive.function.server.ServerRequest,​reactor.core.publisher.Mono<org.springframework.core.io.Resource>> lookupFunction)
        Specified by:
        resources in interface org.springframework.web.reactive.function.server.RouterFunctions.Visitor
      • attributes

        default void attributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)

        Compatible with Spring Framework 5.3.x and earlier versions.

        Specified by:
        attributes in interface org.springframework.web.reactive.function.server.RouterFunctions.Visitor
      • unknown

        default void unknown​(org.springframework.web.reactive.function.server.RouterFunction<?> routerFunction)
        Specified by:
        unknown in interface org.springframework.web.reactive.function.server.RouterFunctions.Visitor