类 InterceptableHandlerAdapterDecorator
java.lang.Object
cn.taketoday.web.handler.HandlerInterceptorHolder
cn.taketoday.web.handler.InterceptableHandlerAdapterDecorator
- 所有已实现的接口:
HandlerAdapter,HandlerInterceptorsProvider
public class InterceptableHandlerAdapterDecorator
extends HandlerInterceptorHolder
implements HandlerAdapter
- 从以下版本开始:
- 4.0 2022/4/18 10:23
- 作者:
- Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段从类继承的字段 cn.taketoday.web.handler.HandlerInterceptorHolder
interceptors从接口继承的字段 cn.taketoday.web.HandlerAdapter
HANDLER_ADAPTER_BEAN_NAME, NONE_RETURN_VALUE -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.taketoday.web.handler.HandlerInterceptorHolder
addInterceptors, addInterceptors, getHolder, getInterceptors, hasInterceptor, interceptorSize, setInterceptors, setInterceptors
-
字段详细资料
-
handlerAdapter
-
-
构造器详细资料
-
InterceptableHandlerAdapterDecorator
-
-
方法详细资料
-
supports
从接口复制的说明:HandlerAdapterGiven a handler instance, return whether support or not thisRequestHandlerAdaptercan support it. Typical RequestHandlerAdapters will base the decision on the handler type. RequestHandlerAdapters will usually only support one handler type each.A typical implementation:
return (handler instanceof MyHandler);- 指定者:
supports在接口中HandlerAdapter- 参数:
handler- handler object to check- 返回:
- whether support or not this object can use the given handler
-
handle
从接口复制的说明:HandlerAdapterUse the given handler to handle this request. The workflow that is required may vary widely.this result will handle by
ReturnValueHandler- 指定者:
handle在接口中HandlerAdapter- 参数:
context- current HTTP request contexthandler- handler to use. This object must have previously been passed to thesupportsmethod of this interface, which must have returnedtrue.- 返回:
- an object with the name of the view and the required model data, or
nullif the request has been handled directly - 抛出:
Throwable- in case of errors- 另请参阅:
-