public class AnyOfMatcher extends Object implements CredentialsMatcher
| Constructor and Description |
|---|
AnyOfMatcher(List<CredentialsMatcher> matchers)
Creates a new instance.
|
public AnyOfMatcher(@CheckForNull
List<CredentialsMatcher> matchers)
matchers - the matchers to match.public boolean matches(@NonNull
Credentials item)
matches in interface CredentialsMatcheritem - the specified credentials.true if and only if the specified credentials match.Copyright © 2004-2015. All Rights Reserved.