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 (e.g.protected abstract StringThe notation to use when printing discrete items of content.inthashCode()toString()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.messaging.handler.MessageConditioncombine, compareTo, getMatchingCondition
- 
Constructor Details- 
AbstractMessageConditionpublic AbstractMessageCondition()
 
- 
- 
Method Details- 
equals
- 
hashCodepublic int hashCode()
- 
toString
- 
getContentReturn the collection of objects the message condition is composed of (e.g. destination patterns), nevernull.
- 
getToStringInfixThe notation to use when printing discrete items of content. For example " || " for URL patterns or " && " for param expressions.
 
-