Class AbstractMessageCondition<T extends AbstractMessageCondition<T>>
java.lang.Object
org.springframework.messaging.handler.AbstractMessageCondition<T>
- Type Parameters:
- T- the kind of condition that this condition can be combined with or compared to
- All Implemented Interfaces:
- MessageCondition<T>
- Direct Known Subclasses:
- DestinationPatternsMessageCondition, RSocketFrameTypeMessageCondition, SimpMessageTypeMessageCondition
public abstract class AbstractMessageCondition<T extends AbstractMessageCondition<T>>
extends Object
implements MessageCondition<T>
Base class for 
MessageCondition's that pre-declares abstract methods
getContent() and getToStringInfix() in order to provide
implementations of equals(Object), hashCode(), and
toString().- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanprotected abstract Collection<?> Return the collection of objects the message condition is composed of (for example, destination patterns), nevernull.protected abstract StringThe notation to use when printing discrete items of content.inthashCode()toString()Methods inherited from interface MessageConditioncombine, compareTo, getMatchingCondition
- 
Constructor Details- 
AbstractMessageConditionpublic AbstractMessageCondition()
 
- 
- 
Method Details- 
equals
- 
hashCode
- 
toString
- 
getContentReturn the collection of objects the message condition is composed of (for example, destination patterns), nevernull.
- 
getToStringInfixThe notation to use when printing discrete items of content. For example " || " for URL patterns or " && " for param expressions.
 
-