| Modifier and Type | Method and Description | 
|---|---|
static String | 
addParametersToURIQuery(String uriString,
                       Map<String,String> parameters)  | 
static Map<String,String> | 
getRequestParameters(String uriQuery)  | 
static String | 
getURIPath(String uri)
Returns an URI path given the uri. 
 | 
static String | 
getURIQuery(Map<String,String> parameters)
Creates an URI query given the request parameters. 
 | 
static String | 
quoteURIPathComponent(String s,
                     boolean quoteSlash)  | 
static String | 
quoteURIPathComponent(String s,
                     boolean quoteSlash,
                     boolean quoteAt)
Quotes a URI path component, with ability to quote "/" and "@" characters or not depending on the URI path 
 | 
protected static String | 
quoteURIPathComponent(String s,
                     String slashSequence,
                     String atSequence)
Quotes a URI path component, with ability to quote "/" and "@" characters or not depending on the URI path 
 | 
static String | 
quoteURIPathToken(String s)
Quotes a URI path token. 
 | 
static String | 
unquoteURIPathComponent(String s)  | 
public static String getURIQuery(Map<String,String> parameters)
public static String getURIPath(String uri)
public static Map<String,String> getRequestParameters(String uriQuery)
public static String addParametersToURIQuery(String uriString, Map<String,String> parameters)
public static String quoteURIPathComponent(String s, boolean quoteSlash)
public static String quoteURIPathComponent(String s, boolean quoteSlash, boolean quoteAt)
s - the uri path to quotequoteSlash - true if "/" character should be quoted and replaced by %2FquoteAt - true if "@" character should be quoted and replaced by %40public static String quoteURIPathToken(String s)
s - the uri path token to quoteprotected static String quoteURIPathComponent(String s, String slashSequence, String atSequence)
s - the uri path to quoteslashSequence - if null, do not quote "/", otherwise, replace "/" by the given sequenceatSequence - if null, do not quote "@", otherwise, replace "@" by the given sequencepublic static String unquoteURIPathComponent(String s)
Copyright © 2019 Nuxeo. All rights reserved.