Class HandlerMethodSelector
- java.lang.Object
- org.springframework.messaging.handler.HandlerMethodSelector
@Deprecated public abstract class HandlerMethodSelector extends Object
Deprecated.as of Spring 4.2.3, in favor of the generalized and refinedMethodIntrospector
Defines the algorithm for searching handler methods exhaustively including interfaces and parent classes while also dealing with parameterized methods as well as interface and class-based proxies.- Since:
- 4.0
- Author:
- Rossen Stoyanchev
Constructor Summary
Constructors Constructor Description HandlerMethodSelector()
Deprecated.
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Set<Method>
selectMethods(Class<?> handlerType, ReflectionUtils.MethodFilter handlerMethodFilter)
Deprecated.Select handler methods for the given handler type.
Constructor Detail
HandlerMethodSelector
public HandlerMethodSelector()
Deprecated.
Method Detail
selectMethods
public static Set<Method> selectMethods(Class<?> handlerType, ReflectionUtils.MethodFilter handlerMethodFilter)
Deprecated.Select handler methods for the given handler type.Callers define handler methods of interest through the
ReflectionUtils.MethodFilter
parameter.- Parameters:
handlerType
- the handler type to search handler methods onhandlerMethodFilter
- aReflectionUtils.MethodFilter
to help recognize handler methods of interest- Returns:
- the selected methods, or an empty set
- See Also:
MethodIntrospector.selectMethods(java.lang.Class<?>, org.springframework.core.MethodIntrospector.MetadataLookup<T>)