Class OrMessageMatcher<T>
java.lang.Object
org.springframework.security.messaging.util.matcher.AbstractMessageMatcherComposite<T>
org.springframework.security.messaging.util.matcher.OrMessageMatcher<T>
- All Implemented Interfaces:
- MessageMatcher<T>
MessageMatcher that will return true if any of the passed in
 MessageMatcher instances match.- Since:
- 4.0
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.springframework.security.messaging.util.matcher.MessageMatcherMessageMatcher.MatchResult
- 
Field SummaryFields inherited from class org.springframework.security.messaging.util.matcher.AbstractMessageMatcherCompositelogger, LOGGERFields inherited from interface org.springframework.security.messaging.util.matcher.MessageMatcherANY_MESSAGE
- 
Constructor SummaryConstructorsConstructorDescriptionOrMessageMatcher(List<MessageMatcher<T>> messageMatchers) Creates a new instanceOrMessageMatcher(MessageMatcher<T>... messageMatchers) Creates a new instance
- 
Method SummaryMethods inherited from class org.springframework.security.messaging.util.matcher.AbstractMessageMatcherCompositegetMessageMatchers, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.security.messaging.util.matcher.MessageMatchermatcher
- 
Constructor Details- 
OrMessageMatcherCreates a new instance- Parameters:
- messageMatchers- the- MessageMatcherinstances to try
 
- 
OrMessageMatcherCreates a new instance- Parameters:
- messageMatchers- the- MessageMatcherinstances to try
 
 
- 
- 
Method Details- 
matchesDescription copied from interface:MessageMatcherReturns true if theMessagematches, else false- Parameters:
- message- the- Messageto match on
- Returns:
- true if the Messagematches, else false
 
 
-