|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wicketstuff.rest.utils.http.HttpUtils
public class HttpUtils
Utility class for HTTP-related operations.
Constructor Summary | |
---|---|
HttpUtils()
|
Method Summary | |
---|---|
static HttpMethod |
getHttpMethod(Request request)
Utility method to extract the HTTP request method. |
static HttpMethod |
getHttpMethod(WebRequest request)
Utility method to extract the HTTP request method. |
static String |
readStringFromRequest(WebRequest request)
Read the string content of the current request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpUtils()
Method Detail |
---|
public static String readStringFromRequest(WebRequest request) throws IOException
request
- the current request
IOException
public static HttpMethod getHttpMethod(Request request)
request
- the current request object
HttpMethod
public static HttpMethod getHttpMethod(WebRequest request)
request
- the current request object
HttpMethod
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |