public final class URLs extends Object
Modifier and Type | Method and Description |
---|---|
static String |
encodeMultiQueryParameters(Map<String,List<String>> options)
Encodes a map of query parameters into a query string
|
static String |
encodeQueryParameters(Map<String,String> options)
Encodes a map of query parameters into a query string
|
static Map<String,List<String>> |
parseMultiQueryParameters(String query)
Parses a url query string into a map of query parameters
|
static Map<String,String> |
parseQueryParameters(String query)
Parses a url query string into a map of query parameters
|
public static Map<String,String> parseQueryParameters(String query)
query
- the query stringpublic static Map<String,List<String>> parseMultiQueryParameters(String query)
query
- the query stringpublic static String encodeQueryParameters(Map<String,String> options)
options
- the query parametersCopyright © 2016 Actian Corporation. All rights reserved.