org.springframework.web.bind.annotation.support
Class HandlerMethodResolver
java.lang.Object
org.springframework.web.bind.annotation.support.HandlerMethodResolver
public class HandlerMethodResolver
- extends java.lang.Object
Support class for resolving web method annotations in a handler type.
Processes @RequestMapping
, @InitBinder
,
@ModelAttribute
and @SessionAttributes
.
Used by AnnotationMethodHandlerAdapter
and AnnotationMethodHandlerAdapter
.
- Since:
- 2.5.2
- Author:
- Juergen Hoeller
- See Also:
RequestMapping
,
InitBinder
,
ModelAttribute
,
SessionAttributes
Constructor Summary |
HandlerMethodResolver(java.lang.Class<?> handlerType)
Create a new HandlerMethodResolver for the specified handler type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerMethodResolver
public HandlerMethodResolver(java.lang.Class<?> handlerType)
- Create a new HandlerMethodResolver for the specified handler type.
- Parameters:
handlerType
- the handler class to introspect
hasHandlerMethods
public final boolean hasHandlerMethods()
getHandlerMethods
public final java.util.Set<java.lang.reflect.Method> getHandlerMethods()
getInitBinderMethods
public final java.util.Set<java.lang.reflect.Method> getInitBinderMethods()
getModelAttributeMethods
public final java.util.Set<java.lang.reflect.Method> getModelAttributeMethods()
hasTypeLevelMapping
public boolean hasTypeLevelMapping()
getTypeLevelMapping
public RequestMapping getTypeLevelMapping()
hasSessionAttributes
public boolean hasSessionAttributes()
isSessionAttribute
public boolean isSessionAttribute(java.lang.String attrName,
java.lang.Class attrType)
getActualSessionAttributeNames
public java.util.Set<java.lang.String> getActualSessionAttributeNames()
Copyright © 2002-2008 The Spring Framework.