public class HttpUtils extends Object
| Constructor and Description |
|---|
HttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
getHttpMethod(org.apache.wicket.request.Request request)
Utility method to extract the HTTP request method.
|
static HttpMethod |
getHttpMethod(org.apache.wicket.request.http.WebRequest request)
Utility method to extract the HTTP request method.
|
static String |
readStringFromRequest(org.apache.wicket.request.http.WebRequest request)
Read the string content of the current request.
|
public static String readStringFromRequest(org.apache.wicket.request.http.WebRequest request) throws IOException
request - the current requestIOExceptionpublic static HttpMethod getHttpMethod(org.apache.wicket.request.Request request)
request - the current request objectHttpMethodpublic static HttpMethod getHttpMethod(org.apache.wicket.request.http.WebRequest request)
request - the current request objectHttpMethodCopyright © 2015. All rights reserved.