public class

HandlerMethodResolver

extends Object
java.lang.Object
   ↳ org.springframework.web.bind.annotation.support.HandlerMethodResolver

Class Overview

Support class for resolving web method annotations in a handler type. Processes @RequestMapping, @InitBinder, @ModelAttribute and @SessionAttributes.

Used by AnnotationMethodHandlerAdapter and AnnotationMethodHandlerAdapter.

Summary

Public Constructors
HandlerMethodResolver()
Public Methods
Set<String> getActualSessionAttributeNames()
final Set<Method> getHandlerMethods()
final Set<Method> getInitBinderMethods()
final Set<Method> getModelAttributeMethods()
RequestMapping getTypeLevelMapping()
final boolean hasHandlerMethods()
boolean hasSessionAttributes()
boolean hasTypeLevelMapping()
void init(Class<?> handlerType)
Initialize a new HandlerMethodResolver for the specified handler type.
boolean isSessionAttribute(String attrName, Class attrType)
Protected Methods
boolean isHandlerMethod(Method method)
boolean isInitBinderMethod(Method method)
boolean isModelAttributeMethod(Method method)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HandlerMethodResolver ()

Public Methods

public Set<String> getActualSessionAttributeNames ()

public final Set<Method> getHandlerMethods ()

public final Set<Method> getInitBinderMethods ()

public final Set<Method> getModelAttributeMethods ()

public RequestMapping getTypeLevelMapping ()

public final boolean hasHandlerMethods ()

public boolean hasSessionAttributes ()

public boolean hasTypeLevelMapping ()

public void init (Class<?> handlerType)

Initialize a new HandlerMethodResolver for the specified handler type.

Parameters
handlerType the handler class to introspect

public boolean isSessionAttribute (String attrName, Class attrType)

Protected Methods

protected boolean isHandlerMethod (Method method)

protected boolean isInitBinderMethod (Method method)

protected boolean isModelAttributeMethod (Method method)