![]() |
|
Contents |
application/x-www-form-urlencoded MIME content type. Static Public Member Functions | |
| static String | decode (String s) |
Decodes the string argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type. | |
| static String | decode (String s, String enc) throws UnsupportedEncodingException |
Decodes the string argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the specified encoding scheme. | |
Static Package Attributes | |
| static Charset | defaultCharset |
Static Private Member Functions | |
| static String | decode (String s, Charset charset) |
| static String decode | ( | String | s | ) | [static] |
Decodes the string argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type.
'+' 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.
e.g. "A+B+C %24%25" -> "A B C $%"
| s | java.lang.String The encoded string. |
| static String decode | ( | String | s, | |
| String | enc | |||
| ) | throws UnsupportedEncodingException [static] |
Decodes the string argument which is assumed to be encoded in the 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.
e.g. "A+B+C %24%25" -> "A B C $%"
| s | java.lang.String The encoded string. | |
| enc | java.lang.String The encoding scheme to use |
| static String decode | ( | String | s, | |
| Charset | charset | |||
| ) | [static, private] |
Charset defaultCharset [static, package] |