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 requestIOException
public static HttpMethod getHttpMethod(org.apache.wicket.request.Request request)
request
- the current request objectHttpMethod
public static HttpMethod getHttpMethod(org.apache.wicket.request.http.WebRequest request)
request
- the current request objectHttpMethod
Copyright © 2015. All rights reserved.