Class URLExemptionFilters

    • Constructor Detail

      • URLExemptionFilters

        public URLExemptionFilters​(Configuration conf)
    • Method Detail

      • isExempted

        public boolean isExempted​(String fromUrl,
                                  String toUrl)
        Run all defined filters. Assume logical AND. An URL is exempted when all the filters accept it to pass through
        Parameters:
        fromUrl - the source url which generated the outlink
        toUrl - the destination url which needs to be checked for exemption
        Returns:
        true is exempted, false otherwise