类 HandlerMethodSelector
- java.lang.Object
- org.springframework.messaging.handler.HandlerMethodSelector
@Deprecated public abstract class HandlerMethodSelector extends Object
已过时。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.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
构造器概要
构造器 构造器 说明 HandlerMethodSelector()
已过时。
方法概要
所有方法 静态方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static Set<Method>
selectMethods(Class<?> handlerType, ReflectionUtils.MethodFilter handlerMethodFilter)
已过时。Select handler methods for the given handler type.
构造器详细资料
HandlerMethodSelector
public HandlerMethodSelector()
已过时。
方法详细资料
selectMethods
public static Set<Method> selectMethods(Class<?> handlerType, ReflectionUtils.MethodFilter handlerMethodFilter)
已过时。Select handler methods for the given handler type.Callers define handler methods of interest through the
ReflectionUtils.MethodFilter
parameter.- 参数:
handlerType
- the handler type to search handler methods onhandlerMethodFilter
- aReflectionUtils.MethodFilter
to help recognize handler methods of interest- 返回:
- the selected methods, or an empty set
- 另请参阅:
MethodIntrospector.selectMethods(java.lang.Class<?>, org.springframework.core.MethodIntrospector.MetadataLookup<T>)