Uses of Class
org.springframework.web.method.HandlerMethod
Packages that use HandlerMethod
Package
Description
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method package.Support classes for annotation-based handler method processing.
Generic support classes for handler method processing.
-
Uses of HandlerMethod in org.springframework.web.method
Methods in org.springframework.web.method that return HandlerMethodModifier and TypeMethodDescriptionHandlerMethod.createWithResolvedBean()If thehandleris a bean name rather than the actual handler instance, resolve the bean name through Spring configuration (e.g.HandlerMethod.createWithValidateFlags()Re-create the HandlerMethod and initializeshouldValidateArguments()andshouldValidateReturnValue().HandlerMethod.getResolvedFromHandlerMethod()Return the HandlerMethod from which this HandlerMethod instance was resolved viacreateWithResolvedBean().Constructors in org.springframework.web.method with parameters of type HandlerMethodModifierConstructorDescriptionprotectedHandlerMethod(HandlerMethod handlerMethod) Copy constructor for use in subclasses.protectedHandlerMethod(HandlerMethod handlerMethod, Object handler, boolean initValidateFlags) Re-create new HandlerMethod instance that copies the given HandlerMethod but replaces the handler, and optionally checks for the presence of validation annotations. -
Uses of HandlerMethod in org.springframework.web.method.annotation
Methods in org.springframework.web.method.annotation with parameters of type HandlerMethodModifier and TypeMethodDescriptionvoidModelFactory.initModel(NativeWebRequest request, ModelAndViewContainer container, HandlerMethod handlerMethod) Populate the model in the following order: Retrieve "known" session attributes listed as@SessionAttributes.protected booleanInitBinderDataBinderFactory.isBinderMethodApplicable(HandlerMethod initBinderMethod, WebDataBinder dataBinder) Determine whether the given@InitBindermethod should be used to initialize the givenWebDataBinderinstance. -
Uses of HandlerMethod in org.springframework.web.method.support
Subclasses of HandlerMethod in org.springframework.web.method.supportModifier and TypeClassDescriptionclassExtension ofHandlerMethodthat invokes the underlying method with argument values resolved from the current HTTP request through a list ofHandlerMethodArgumentResolver.Constructors in org.springframework.web.method.support with parameters of type HandlerMethodModifierConstructorDescriptionInvocableHandlerMethod(HandlerMethod handlerMethod) Create an instance from aHandlerMethod.