类 HandlerRegistries
java.lang.Object
cn.taketoday.web.handler.HandlerRegistries
- 所有已实现的接口:
HandlerMapping
Composite HandlerMapping
- 作者:
- TODAY 2019-12-08 23:15
-
字段概要
字段从接口继承的字段 cn.taketoday.web.HandlerMapping
HANDLER_MAPPING_BEAN_NAME -
构造器概要
构造器构造器说明HandlerRegistries(HandlerMapping... registries) HandlerRegistries(List<HandlerMapping> registries) -
方法概要
修饰符和类型方法说明getHandler(RequestContext request) Return a handler and any interceptors for this request.
-
字段详细资料
-
handlerRegistries
-
-
构造器详细资料
-
HandlerRegistries
-
HandlerRegistries
-
-
方法详细资料
-
getHandler
从接口复制的说明:HandlerMappingReturn a handler and any interceptors for this request. The choice may be made on request URL, session state, or any factor the implementing class chooses.The returned HandlerExecutionChain contains a handler Object, rather than even a tag interface, so that handlers are not constrained in any way. For example, a HandlerAdapter could be written to allow another framework's handler objects to be used.
Returns
nullif no match was found. This is not an error. The DispatcherServlet will query all registered HandlerMapping beans to find a match, and only decide there is an error if none can find a handler.- 指定者:
getHandler在接口中HandlerMapping- 参数:
request- Current request context- 返回:
- a fgA instance containing handler object and
any interceptors, or
nullif no mapping found - 抛出:
Exception- if there is an internal error
-