类 AbstractMessageCondition<T extends AbstractMessageCondition<T>>
- java.lang.Object
- org.springframework.messaging.handler.AbstractMessageCondition<T>
- 所有已实现的接口:
MessageCondition<T>
public abstract class AbstractMessageCondition<T extends AbstractMessageCondition<T>> extends Object implements MessageCondition<T>
A base class forMessageCondition
types providing implementations ofequals(Object)
,hashCode()
, andtoString()
.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
构造器概要
构造器 构造器 说明 AbstractMessageCondition()
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 boolean
equals(Object obj)
protected abstract Collection<?>
getContent()
Return the collection of objects the message condition is composed of (e.g. destination patterns), nevernull
.protected abstract String
getToStringInfix()
The notation to use when printing discrete items of content.int
hashCode()
String
toString()
从接口继承的方法 org.springframework.messaging.handler.MessageCondition
combine, compareTo, getMatchingCondition
构造器详细资料
AbstractMessageCondition
public AbstractMessageCondition()
方法详细资料
getContent
protected abstract Collection<?> getContent()
Return the collection of objects the message condition is composed of (e.g. destination patterns), nevernull
.
getToStringInfix
protected abstract String getToStringInfix()
The notation to use when printing discrete items of content. For example " || " for URL patterns or " && " for param expressions.