HandlerMethod-based MVC infrastructure@Deprecated
public class HandlerMethodResolver
extends java.lang.Object
@RequestMapping, @InitBinder,
@ModelAttribute and @SessionAttributes.
Used by AnnotationMethodHandlerAdapter
and AnnotationMethodHandlerAdapter.
RequestMapping,
InitBinder,
ModelAttribute,
SessionAttributes| Constructor and Description |
|---|
HandlerMethodResolver()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getActualSessionAttributeNames()
Deprecated.
|
java.util.Set<java.lang.reflect.Method> |
getHandlerMethods()
Deprecated.
|
java.util.Set<java.lang.reflect.Method> |
getInitBinderMethods()
Deprecated.
|
java.util.Set<java.lang.reflect.Method> |
getModelAttributeMethods()
Deprecated.
|
RequestMapping |
getTypeLevelMapping()
Deprecated.
|
boolean |
hasHandlerMethods()
Deprecated.
|
boolean |
hasSessionAttributes()
Deprecated.
|
boolean |
hasTypeLevelMapping()
Deprecated.
|
void |
init(java.lang.Class<?> handlerType)
Deprecated.
Initialize a new HandlerMethodResolver for the specified handler type.
|
protected boolean |
isHandlerMethod(java.lang.reflect.Method method)
Deprecated.
|
protected boolean |
isInitBinderMethod(java.lang.reflect.Method method)
Deprecated.
|
protected boolean |
isModelAttributeMethod(java.lang.reflect.Method method)
Deprecated.
|
boolean |
isSessionAttribute(java.lang.String attrName,
java.lang.Class<?> attrType)
Deprecated.
|
public void init(java.lang.Class<?> handlerType)
handlerType - the handler class to introspectprotected boolean isHandlerMethod(java.lang.reflect.Method method)
protected boolean isInitBinderMethod(java.lang.reflect.Method method)
protected boolean isModelAttributeMethod(java.lang.reflect.Method method)
public final boolean hasHandlerMethods()
public final java.util.Set<java.lang.reflect.Method> getHandlerMethods()
public final java.util.Set<java.lang.reflect.Method> getInitBinderMethods()
public final java.util.Set<java.lang.reflect.Method> getModelAttributeMethods()
public boolean hasTypeLevelMapping()
public RequestMapping getTypeLevelMapping()
public boolean hasSessionAttributes()
public boolean isSessionAttribute(java.lang.String attrName,
java.lang.Class<?> attrType)
public java.util.Set<java.lang.String> getActualSessionAttributeNames()