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>

public final class OrMessageMatcher<T> extends AbstractMessageMatcherComposite<T>
MessageMatcher that will return true if any of the passed in MessageMatcher instances match.
Since:
4.0
  • Constructor Details

  • Method Details

    • matches

      public boolean matches(org.springframework.messaging.Message<? extends T> message)
      Description copied from interface: MessageMatcher
      Returns true if the Message matches, else false
      Parameters:
      message - the Message to match on
      Returns:
      true if the Message matches, else false