类 HandlerMethodResolver
- java.lang.Object
- org.springframework.web.bind.annotation.support.HandlerMethodResolver
@Deprecated public class HandlerMethodResolver extends Object
已过时。as of 4.3, in favor of theHandlerMethod-based MVC infrastructureSupport class for resolving web method annotations in a handler type. Processes@RequestMapping,@InitBinder,@ModelAttributeand@SessionAttributes.Used by
AnnotationMethodHandlerAdapterandAnnotationMethodHandlerAdapter.- 从以下版本开始:
- 2.5.2
- 作者:
- Juergen Hoeller
- 另请参阅:
RequestMapping,InitBinder,ModelAttribute,SessionAttributes
构造器概要
构造器 构造器 说明 HandlerMethodResolver()已过时。
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 Set<String>getActualSessionAttributeNames()已过时。Set<Method>getHandlerMethods()已过时。Set<Method>getInitBinderMethods()已过时。Set<Method>getModelAttributeMethods()已过时。RequestMappinggetTypeLevelMapping()已过时。booleanhasHandlerMethods()已过时。booleanhasSessionAttributes()已过时。booleanhasTypeLevelMapping()已过时。voidinit(Class<?> handlerType)已过时。Initialize a new HandlerMethodResolver for the specified handler type.protected booleanisHandlerMethod(Method method)已过时。protected booleanisInitBinderMethod(Method method)已过时。protected booleanisModelAttributeMethod(Method method)已过时。booleanisSessionAttribute(String attrName, Class<?> attrType)已过时。
构造器详细资料
HandlerMethodResolver
public HandlerMethodResolver()
已过时。
方法详细资料
init
public void init(Class<?> handlerType)
已过时。Initialize a new HandlerMethodResolver for the specified handler type.- 参数:
handlerType- the handler class to introspect
isHandlerMethod
protected boolean isHandlerMethod(Method method)
已过时。
isInitBinderMethod
protected boolean isInitBinderMethod(Method method)
已过时。
isModelAttributeMethod
protected boolean isModelAttributeMethod(Method method)
已过时。
hasHandlerMethods
public final boolean hasHandlerMethods()
已过时。
getHandlerMethods
public final Set<Method> getHandlerMethods()
已过时。
getInitBinderMethods
public final Set<Method> getInitBinderMethods()
已过时。
getModelAttributeMethods
public final Set<Method> getModelAttributeMethods()
已过时。
hasTypeLevelMapping
public boolean hasTypeLevelMapping()
已过时。
getTypeLevelMapping
public RequestMapping getTypeLevelMapping()
已过时。
hasSessionAttributes
public boolean hasSessionAttributes()
已过时。
isSessionAttribute
public boolean isSessionAttribute(String attrName, Class<?> attrType)
已过时。
getActualSessionAttributeNames
public Set<String> getActualSessionAttributeNames()
已过时。