public class UrlDecoder
extends java.lang.Object
Constructor and Description |
---|
UrlDecoder() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decode(java.lang.String s)
Decodes the argument which is assumed to be encoded in the
x-www-form-urlencoded MIME content type using
the specified encoding scheme. |
static TextualPath |
decodePath(java.lang.String pathString)
Decode a path, delimited with "/" characters.
|
public static java.lang.String decode(java.lang.String s)
x-www-form-urlencoded
MIME content type using
the specified encoding scheme.
'+' will be converted to space, '%' and two following hex digit characters are converted to the equivalent byte
value. All other characters are passed through unmodified. For example "A+B+C %24%25" -> "A B C $%".s
- the encoded stringpublic static TextualPath decodePath(java.lang.String pathString)
pathString
- path string