Class UriDecoder
java.lang.Object
org.apache.olingo.server.core.uri.parser.UriDecoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic booleanprotected 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.splitAndDecodePath(String path) Splits the path string at '/' characters and percent-decodes the resulting path segments.
-
Constructor Details
-
UriDecoder
public UriDecoder()
-
-
Method Details
-
isFormEncoding
public static boolean isFormEncoding() -
splitAndDecodePath
Splits the path string at '/' characters and percent-decodes the resulting path segments.- Throws:
UriParserSyntaxException
-
splitAndDecodeOptions
protected static List<QueryOption> splitAndDecodeOptions(String queryOptionString) throws UriParserSyntaxException 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. If there is no '=' character in an option, the whole option is considered as name.- Throws:
UriParserSyntaxException
-
decode
- Throws:
UriParserSyntaxException
-