Class URLPathEncoder


  • public class URLPathEncoder
    extends Object
    A simple URL path encoder.
    • Constructor Detail

      • URLPathEncoder

        public URLPathEncoder()
    • Method Detail

      • encodePath

        public static String encodePath​(String path)
        Encode a URL path using percent-encoding. '/' is not encoded.
        Parameters:
        path - The path to encode.
        Returns:
        The encoded path.