Queries whether multiple entries are contained in the blacklist method. See also: contains.
This method queries only exact matches. If, for example, "*@example.com" is contained in the blacklist and you query john@example.com using this method, false is returned. If you query @example.com, true is returned. To a query both exact matches as well as wildcards, use the areBlacklisted method.
Type: boolean[ ]
Parameters
Name | Type | Value |
---|---|---|
sessionId |
String |
ID of the session |
entries |
String[ ] |
Entries to be queried |
Return values
For each entry:
- true: Entry is contained in the blacklist
- false: Entry is not contained in the blacklist
Code structure
boolean[] containsAll(String sessionId, String[] entries)
Do you find this information helpful? Please log in to provide feedback.
Last updated: Apr 24, 2018