Class UrlDecoder

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

public final class UrlDecoder extends Object
Utility to decode URL strings.
Since:
3.2.0
Author:
Phillip Webb
  • Method Details

    • decode

      public static String decode(String string)
      Decode the given string by decoding URL '%' escapes. This method should be identical in behavior to the decode method in the internal sun.net.www.ParseUtil JDK class.
      Parameters:
      string - the string to decode
      Returns:
      the decoded string