Class RouterFunctionVisitor

java.lang.Object
org.springdoc.core.fn.AbstractRouterFunctionVisitor
org.springdoc.webflux.core.visitor.RouterFunctionVisitor
All Implemented Interfaces:
org.springframework.web.reactive.function.server.RequestPredicates.Visitor, org.springframework.web.reactive.function.server.RouterFunctions.Visitor

public class RouterFunctionVisitor extends org.springdoc.core.fn.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
  • Field Summary

    Fields inherited from class org.springdoc.core.fn.AbstractRouterFunctionVisitor

    attributes, currentRouterFunctionDatas, isOr, nestedPaths, orPaths, routerFunctionDatas
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    endNested(org.springframework.web.reactive.function.server.RequestPredicate predicate)
     
    void
    resources(Function<org.springframework.web.reactive.function.server.ServerRequest,reactor.core.publisher.Mono<org.springframework.core.io.Resource>> lookupFunction)
     
    void
    route(org.springframework.web.reactive.function.server.RequestPredicate predicate, org.springframework.web.reactive.function.server.HandlerFunction<?> handlerFunction)
     
    void
    startNested(org.springframework.web.reactive.function.server.RequestPredicate predicate)
     
    void
    unknown(org.springframework.web.reactive.function.server.RequestPredicate predicate)
     
    void
    unknown(org.springframework.web.reactive.function.server.RouterFunction<?> routerFunction)
     
    void
    version(String version)
     

    Methods inherited from class org.springdoc.core.fn.AbstractRouterFunctionVisitor

    and, attributes, commonEndNested, commonRoute, commonStartNested, endAnd, endNegate, endOr, getRouterFunctionDatas, header, method, or, param, path, pathExtension, queryParam, startAnd, startNegate, startOr

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.reactive.function.server.RequestPredicates.Visitor

    and, endAnd, endNegate, endOr, header, method, or, path, pathExtension, queryParam, startAnd, startNegate, startOr

    Methods inherited from interface org.springframework.web.reactive.function.server.RouterFunctions.Visitor

    attributes
  • Constructor Details

    • RouterFunctionVisitor

      public RouterFunctionVisitor()
  • Method Details

    • 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
    • version

      public void version(String version)
      Specified by:
      version in interface org.springframework.web.reactive.function.server.RequestPredicates.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