Class StripQueryUrlNormalizer

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

    
    public final class StripQueryUrlNormalizer
    extends AbstractUrlNormalizer
                        

    Normalize the url by removing the query part

    • 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 by removing the query part
      • Methods inherited from class java.lang.Object

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

      • StripQueryUrlNormalizer

        StripQueryUrlNormalizer()
    • Method Detail

      • invoke

         String invoke(String url)

        Normalize the url by removing the query part

        Parameters:
        url - The url to be normalized
        Returns:

        The normalized url