- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 31 of file CrawlerLists.java.
◆ getAllowedSet()
AllowedSet org.turro.elephant.servlet.crawler.CrawlerLists.getAllowedSet |
( |
| ) |
|
◆ getBlackList()
Set<ActivityAction> org.turro.elephant.servlet.crawler.CrawlerLists.getBlackList |
( |
| ) |
|
◆ getWhiteList()
Set<ActivityAction> org.turro.elephant.servlet.crawler.CrawlerLists.getWhiteList |
( |
| ) |
|
◆ isBlackListed()
boolean org.turro.elephant.servlet.crawler.CrawlerLists.isBlackListed |
( |
String |
ip | ) |
|
Definition at line 44 of file CrawlerLists.java.
45 return blackList.stream().anyMatch(aa -> ip.equals(aa.getIp()));
◆ isWhiteListed()
boolean org.turro.elephant.servlet.crawler.CrawlerLists.isWhiteListed |
( |
String |
ip | ) |
|
Definition at line 48 of file CrawlerLists.java.
49 return whiteList.stream().anyMatch(aa -> ip.equals(aa.getIp()));
◆ toJson() [1/2]
String org.turro.elephant.servlet.crawler.CrawlerLists.toJson |
( |
| ) |
|
◆ toJson() [2/2]
String org.turro.elephant.servlet.crawler.CrawlerLists.toJson |
( |
Map< String, Object > |
properties | ) |
|
The documentation for this class was generated from the following file: