Class RouterFunctionVisitor

  • All Implemented Interfaces:
    org.springframework.web.reactive.function.server.RequestPredicates.Visitor, org.springframework.web.reactive.function.server.RouterFunctions.Visitor

    public class RouterFunctionVisitor
    extends AbstractRouterFunctionVisitor
    implements org.springframework.web.reactive.function.server.RouterFunctions.Visitor, org.springframework.web.reactive.function.server.RequestPredicates.Visitor
    The type Router function visitor.
    Author:
    bnasslahsen
    • Constructor Detail

      • RouterFunctionVisitor

        public RouterFunctionVisitor()
    • Method Detail

      • route

        public 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
      • startNested

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

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

        public void resources​(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
      • unknown

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

        public void unknown​(org.springframework.web.reactive.function.server.RequestPredicate predicate)
        Specified by:
        unknown in interface org.springframework.web.reactive.function.server.RequestPredicates.Visitor