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 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 RouterFunctionVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendNested(org.springframework.web.reactive.function.server.RequestPredicate predicate)voidresources(Function<org.springframework.web.reactive.function.server.ServerRequest,reactor.core.publisher.Mono<org.springframework.core.io.Resource>> lookupFunction)voidroute(org.springframework.web.reactive.function.server.RequestPredicate predicate, org.springframework.web.reactive.function.server.HandlerFunction<?> handlerFunction)voidstartNested(org.springframework.web.reactive.function.server.RequestPredicate predicate)voidunknown(org.springframework.web.reactive.function.server.RequestPredicate predicate)voidunknown(org.springframework.web.reactive.function.server.RouterFunction<?> routerFunction)-
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
-
-
-
-
Method Detail
-
route
public void route(org.springframework.web.reactive.function.server.RequestPredicate predicate, org.springframework.web.reactive.function.server.HandlerFunction<?> handlerFunction)- Specified by:
routein interfaceorg.springframework.web.reactive.function.server.RouterFunctions.Visitor
-
startNested
public void startNested(org.springframework.web.reactive.function.server.RequestPredicate predicate)
- Specified by:
startNestedin interfaceorg.springframework.web.reactive.function.server.RouterFunctions.Visitor
-
endNested
public void endNested(org.springframework.web.reactive.function.server.RequestPredicate predicate)
- Specified by:
endNestedin interfaceorg.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:
resourcesin interfaceorg.springframework.web.reactive.function.server.RouterFunctions.Visitor
-
unknown
public void unknown(org.springframework.web.reactive.function.server.RouterFunction<?> routerFunction)
- Specified by:
unknownin interfaceorg.springframework.web.reactive.function.server.RouterFunctions.Visitor
-
unknown
public void unknown(org.springframework.web.reactive.function.server.RequestPredicate predicate)
- Specified by:
unknownin interfaceorg.springframework.web.reactive.function.server.RequestPredicates.Visitor
-
-