Class AbstractUrlFilter

  • All Implemented Interfaces:
    ai.platon.pulsar.common.urls.preprocess.UrlFilter , kotlin.Function , kotlin.Function1

    
    public abstract class AbstractUrlFilter
     implements UrlFilter
                        

    An abstract url filter that does nothing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String invoke(String url) Filter the url, do nothing by default.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractUrlFilter

        AbstractUrlFilter()
    • Method Detail

      • invoke

         String invoke(String url)

        Filter the url, do nothing by default.

        Parameters:
        url - The url to be filtered
        Returns:

        The filtered url, which is the same as the input url by default