Class HandlerMethodResolver
- java.lang.Object
- org.springframework.web.bind.annotation.support.HandlerMethodResolver
@Deprecated public class HandlerMethodResolver extends Object
Deprecated.as of 4.3, in favor of theHandlerMethod
-based MVC infrastructureSupport class for resolving web method annotations in a handler type. Processes@RequestMapping
,@InitBinder
,@ModelAttribute
and@SessionAttributes
.Used by
AnnotationMethodHandlerAdapter
andAnnotationMethodHandlerAdapter
.- Since:
- 2.5.2
- Author:
- Juergen Hoeller
- See Also:
RequestMapping
,InitBinder
,ModelAttribute
,SessionAttributes
Constructor Summary
Constructors Constructor Description HandlerMethodResolver()
Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Set<String>
getActualSessionAttributeNames()
Deprecated.Set<Method>
getHandlerMethods()
Deprecated.Set<Method>
getInitBinderMethods()
Deprecated.Set<Method>
getModelAttributeMethods()
Deprecated.RequestMapping
getTypeLevelMapping()
Deprecated.boolean
hasHandlerMethods()
Deprecated.boolean
hasSessionAttributes()
Deprecated.boolean
hasTypeLevelMapping()
Deprecated.void
init(Class<?> handlerType)
Deprecated.Initialize a new HandlerMethodResolver for the specified handler type.protected boolean
isHandlerMethod(Method method)
Deprecated.protected boolean
isInitBinderMethod(Method method)
Deprecated.protected boolean
isModelAttributeMethod(Method method)
Deprecated.boolean
isSessionAttribute(String attrName, Class<?> attrType)
Deprecated.
Constructor Detail
HandlerMethodResolver
public HandlerMethodResolver()
Deprecated.
Method Detail
init
public void init(Class<?> handlerType)
Deprecated.Initialize a new HandlerMethodResolver for the specified handler type.- Parameters:
handlerType
- the handler class to introspect
isHandlerMethod
protected boolean isHandlerMethod(Method method)
Deprecated.
isInitBinderMethod
protected boolean isInitBinderMethod(Method method)
Deprecated.
isModelAttributeMethod
protected boolean isModelAttributeMethod(Method method)
Deprecated.
hasHandlerMethods
public final boolean hasHandlerMethods()
Deprecated.
getHandlerMethods
public final Set<Method> getHandlerMethods()
Deprecated.
getInitBinderMethods
public final Set<Method> getInitBinderMethods()
Deprecated.
getModelAttributeMethods
public final Set<Method> getModelAttributeMethods()
Deprecated.
hasTypeLevelMapping
public boolean hasTypeLevelMapping()
Deprecated.
getTypeLevelMapping
public RequestMapping getTypeLevelMapping()
Deprecated.
hasSessionAttributes
public boolean hasSessionAttributes()
Deprecated.
isSessionAttribute
public boolean isSessionAttribute(String attrName, Class<?> attrType)
Deprecated.
getActualSessionAttributeNames
public Set<String> getActualSessionAttributeNames()
Deprecated.