类 RouterFunctionBuilder.BuiltRouterFunction
java.lang.Object
cn.taketoday.web.handler.function.RouterFunctions.AbstractRouterFunction<ServerResponse>
cn.taketoday.web.handler.function.RouterFunctionBuilder.BuiltRouterFunction
- 所有已实现的接口:
RouterFunction<ServerResponse>
private static class RouterFunctionBuilder.BuiltRouterFunction
extends RouterFunctions.AbstractRouterFunction<ServerResponse>
Router function returned by
RouterFunctionBuilder.build() that simply iterates over the registered routes.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaccept(RouterFunctions.Visitor visitor) Accept the given visitor.route(ServerRequest request) Return the handler function that matches the given request.从类继承的方法 cn.taketoday.web.handler.function.RouterFunctions.AbstractRouterFunction
toString从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 cn.taketoday.web.handler.function.RouterFunction
and, andNest, andOther, andRoute, filter, withAttribute, withAttributes
-
字段详细资料
-
routerFunctions
-
-
构造器详细资料
-
BuiltRouterFunction
-
-
方法详细资料
-
route
从接口复制的说明:RouterFunctionReturn the handler function that matches the given request.- 参数:
request- the request to route- 返回:
- an
Optionaldescribing theHandlerFunctionthat matches this request, or an emptyOptionalif there is no match
-
accept
从接口复制的说明:RouterFunctionAccept the given visitor. Default implementation callsRouterFunctions.Visitor.unknown(RouterFunction); composedRouterFunctionimplementations are expected to callacceptfor all components that make up this router function.- 参数:
visitor- the visitor to accept
-