- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 28 of file AllowedSet.java.
◆ from()
Definition at line 55 of file AllowedSet.java.
56 AllowedSet
set =
new AllowedSet();
57 crawlerLists.getBlackList().forEach(action ->
set.addBlackListed(action.getIp()));
58 crawlerLists.getWhiteList().forEach(action ->
set.addWhiteListed(action.getIp()));
◆ isBlackListed()
boolean org.turro.elephant.servlet.crawler.AllowedSet.isBlackListed |
( |
String |
ip | ) |
|
Definition at line 30 of file AllowedSet.java.
31 return ip !=
null && blackList.contains(ip);
◆ isWhiteListed()
boolean org.turro.elephant.servlet.crawler.AllowedSet.isWhiteListed |
( |
String |
ip | ) |
|
Definition at line 34 of file AllowedSet.java.
35 return ip !=
null && whiteList.contains(ip);
The documentation for this class was generated from the following file: