public class UriDecoder extends Object
| Constructor and Description |
|---|
UriDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String encoded) |
static boolean |
isFormEncoding() |
protected static List<QueryOption> |
splitAndDecodeOptions(String queryOptionString)
Splits the query-option string at '&' characters, the resulting parts at '=' characters,
and separately percent-decodes names and values of the resulting name-value pairs.
|
protected static List<String> |
splitAndDecodePath(String path)
Splits the path string at '/' characters and percent-decodes the resulting path segments.
|
public static boolean isFormEncoding()
protected static List<String> splitAndDecodePath(String path) throws UriParserSyntaxException
UriParserSyntaxExceptionprotected static List<QueryOption> splitAndDecodeOptions(String queryOptionString) throws UriParserSyntaxException
UriParserSyntaxExceptionpublic static String decode(String encoded) throws UriParserSyntaxException
UriParserSyntaxExceptionCopyright © 2023. All rights reserved.