Class AndMessageMatcher<T>

java.lang.Object
org.springframework.security.messaging.util.matcher.AbstractMessageMatcherComposite<T>
org.springframework.security.messaging.util.matcher.AndMessageMatcher<T>
All Implemented Interfaces:
MessageMatcher<T>

public final class AndMessageMatcher<T> extends AbstractMessageMatcherComposite<T>
MessageMatcher that will return true if all 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