public interface HttpRequest extends HttpMessage
Modifier and Type | Method and Description |
---|---|
default HttpMethod |
getMethod()
Return the HTTP method of the request.
|
java.lang.String |
getMethodValue()
Return the HTTP method of the request as a String value.
|
java.net.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)
java.lang.String getMethodValue()
getMethod()
java.net.URI getURI()
null
)