Class AbstractUrlNormalizer

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

    
    public abstract class AbstractUrlNormalizer
     implements UrlNormalizer
                        

    An abstract url normalizer 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) Normalize 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

      • AbstractUrlNormalizer

        AbstractUrlNormalizer()
    • Method Detail

      • invoke

         String invoke(String url)

        Normalize the url, do nothing by default.

        Parameters:
        url - The url to be normalized
        Returns:

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