public class HttpMethod extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
AMPERSAND
The '&' char.
|
static char |
EQUALS
The '=' char.
|
static char |
QUESTIONMARK
The '?' char.
|
private static String |
UTF8 |
| Constructor and Description |
|---|
HttpMethod() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHttpQuery(Map<String,String> props)
Returns the query part of an url pointing to a cgi-script or servlet.
|
static String |
getPropertiesAsHttpGet(Map<String,String> props)
Returns the query part of an url pointing to a cgi-script or servlet.
|
public static final char QUESTIONMARK
public static final char AMPERSAND
public static final char EQUALS
private static final String UTF8
public static String getHttpQuery(Map<String,String> props)
props - the name-value pairs.getPropertiesAsHttpGet(java.util.Map<java.lang.String, java.lang.String>)public static String getPropertiesAsHttpGet(Map<String,String> props)
props - the name-value pairs.getHttpQuery(java.util.Map<java.lang.String, java.lang.String>)