MessageCondition for SImple Messaging Protocols. Encapsulates the following
request mapping conditions:
| Modifier and Type | Field and Description |
|---|---|
| private final CompositeMessageCondition |
| Access | Constructor and Description |
|---|---|
| public | SimpMessageMappingInfo(SimpMessageTypeMessageCondition messageTypeMessageCondition, DestinationPatternsMessageCondition destinationConditions)
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SimpMessageMappingInfo | combine(SimpMessageMappingInfo
the condition to combine with other)Implements org. Define the rules for combining this condition with another. |
| public int | compareTo(SimpMessageMappingInfo other, Message<?> message)
Implements org. Compare this condition to another in the context of a specific message. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public DestinationPatternsMessageCondition | |
| public SimpMessageMappingInfo | getMatchingCondition(Message<?> message)
Implements org. Check if this condition matches the given Message and returns a potentially new condition with content tailored to the current message. |
| public SimpMessageTypeMessageCondition | |
| public int | |
| public String |
| delegate | back to summary |
|---|---|
| private final CompositeMessageCondition delegate | |
| SimpMessageMappingInfo | back to summary |
|---|---|
| public SimpMessageMappingInfo(SimpMessageTypeMessageCondition messageTypeMessageCondition, DestinationPatternsMessageCondition destinationConditions) | |
| SimpMessageMappingInfo | back to summary |
|---|---|
| private SimpMessageMappingInfo(CompositeMessageCondition delegate) | |
| combine | back to summary |
|---|---|
| public SimpMessageMappingInfo combine(SimpMessageMappingInfo other) Implements org. Doc from org. Define the rules for combining this condition with another. For example combining type- and method-level conditions.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(SimpMessageMappingInfo other, Message<?> message) Implements org. Doc from org. Compare this condition to another in the context of a specific message.
It is assumed both instances have been obtained via
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getDestinationConditions | back to summary |
|---|---|
| public DestinationPatternsMessageCondition getDestinationConditions() | |
| getMatchingCondition | back to summary |
|---|---|
| public SimpMessageMappingInfo getMatchingCondition(Message<?> message) Implements org. Doc from org. Check if this condition matches the given Message and returns a potentially new condition with content tailored to the current message. For example a condition with destination patterns might return a new condition with sorted, matching patterns only.
| |
| getMessageTypeMessageCondition | back to summary |
|---|---|
| public SimpMessageTypeMessageCondition getMessageTypeMessageCondition() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |