类 ChangePathPatternParserVisitor
java.lang.Object
cn.taketoday.web.handler.function.ChangePathPatternParserVisitor
- 所有已实现的接口:
RouterFunctions.Visitor
Implementation of
RouterFunctions.Visitor that changes the
PathPatternParser on path-related request predicates
(i.e. RequestPredicates.PathPatternPredicate.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma, Harry Yang
-
嵌套类概要
嵌套类修饰符和类型类说明static interfaceInterface implemented by predicates that can change the parser. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidattributes(Map<String, Object> attributes) Receive notification of a router function with attributes.private voidchangeParser(RequestPredicate predicate) voidendNested(RequestPredicate predicate) Receive notification of the end of a nested router function.voidresources(Function<ServerRequest, Optional<cn.taketoday.core.io.Resource>> lookupFunction) Receive notification of a resource router function.voidroute(RequestPredicate predicate, HandlerFunction<?> handlerFunction) Receive notification of a standard predicated route to a handler function.voidstartNested(RequestPredicate predicate) Receive notification of the beginning of a nested router function.voidunknown(RouterFunction<?> routerFunction) Receive notification of an unknown router function.
-
字段详细资料
-
parser
-
-
构造器详细资料
-
ChangePathPatternParserVisitor
-
-
方法详细资料
-
startNested
从接口复制的说明:RouterFunctions.VisitorReceive notification of the beginning of a nested router function.- 指定者:
startNested在接口中RouterFunctions.Visitor- 参数:
predicate- the predicate that applies to the nested router functions- 另请参阅:
-
endNested
从接口复制的说明:RouterFunctions.VisitorReceive notification of the end of a nested router function.- 指定者:
endNested在接口中RouterFunctions.Visitor- 参数:
predicate- the predicate that applies to the nested router functions- 另请参阅:
-
route
从接口复制的说明:RouterFunctions.VisitorReceive notification of a standard predicated route to a handler function.- 指定者:
route在接口中RouterFunctions.Visitor- 参数:
predicate- the predicate that applies to the handler functionhandlerFunction- the handler function.- 另请参阅:
-
unknown
从接口复制的说明:RouterFunctions.VisitorReceive notification of an unknown router function. This method is called for router functions that were not created via the variousRouterFunctionsmethods.- 指定者:
unknown在接口中RouterFunctions.Visitor- 参数:
routerFunction- the router function
-
attributes
从接口复制的说明:RouterFunctions.VisitorReceive notification of a router function with attributes. The given attributes apply to the router notification that follows this one.- 指定者:
attributes在接口中RouterFunctions.Visitor- 参数:
attributes- the attributes that apply to the following router
-
resources
public void resources(Function<ServerRequest, Optional<cn.taketoday.core.io.Resource>> lookupFunction) 从接口复制的说明:RouterFunctions.VisitorReceive notification of a resource router function.- 指定者:
resources在接口中RouterFunctions.Visitor- 参数:
lookupFunction- the lookup function for the resources- 另请参阅:
-
changeParser
-