Package ai.platon.pulsar.crawl.protocol
Object RobotRulesParser.Companion
-
- All Implemented Interfaces:
public class RobotRulesParser.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final LoggerLOGprivate final Hashtable<String, BaseRobotRules>CACHEprivate BaseRobotRulesFORBID_ALL_RULESpublic final static RobotRulesParser.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final LoggergetLOG()final Hashtable<String, BaseRobotRules>getCACHE()final BaseRobotRulesgetFORBID_ALL_RULES()A BaseRobotRules object appropriate for use when the robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.final UnitsetFORBID_ALL_RULES(BaseRobotRules FORBID_ALL_RULES)A BaseRobotRules object appropriate for use when the robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.-
-
Method Detail
-
getLOG
final Logger getLOG()
-
getFORBID_ALL_RULES
final BaseRobotRules getFORBID_ALL_RULES()
A BaseRobotRules object appropriate for use when the
robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.
-
setFORBID_ALL_RULES
final Unit setFORBID_ALL_RULES(BaseRobotRules FORBID_ALL_RULES)
A BaseRobotRules object appropriate for use when the
robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.
-
-
-
-