public interface HttpRequest extends HttpMessage
| Modifier and Type | Method and Description |
|---|---|
default HttpMethod |
getMethod()
Return the HTTP method of the request.
|
String |
getMethodValue()
Return the HTTP method of the request as a String value.
|
URI |
getURI()
Return the URI of the request (including a query string if any,
but only if it is well-formed for a URI representation).
|
getHeaders@Nullable default HttpMethod getMethod()
null
if not resolvable (e.g. in case of a non-standard HTTP method)getMethodValue(),
HttpMethod.resolve(String)String getMethodValue()
getMethod()URI getURI()
null)