| Constructor and Description |
|---|
RequestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatQueryString(List<? extends org.apache.http.NameValuePair> parameters,
String encoding)
Returns a String that is suitable for use as an
application/x-www-form-urlencoded list of parameters in an
HTTP PUT or HTTP POST. |
public static String formatQueryString(List<? extends org.apache.http.NameValuePair> parameters, String encoding)
application/x-www-form-urlencoded list of parameters in an
HTTP PUT or HTTP POST. It can also be used as query string in a GET
requestparameters - The parameters to include.encoding - The encoding to use.Copyright © 2015. All rights reserved.