Class UrlEncoder

java.lang.Object
org.springframework.boot.loader.net.util.UrlEncoder

public final class UrlEncoder extends Object
Utility to encode URL strings.
Since:
4.2.0
Author:
Phillip Webb
  • Method Details

    • encode

      public static String encode(String path)
      Encode the given path for use in a URL.
      Parameters:
      path - the path to encode
      Returns:
      the encoded path