public interface HttpRequest extends HttpMessage
Modifier and Type | Method and Description |
---|---|
HttpMethod |
getMethod()
Return the HTTP method of the request.
|
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
HttpMethod getMethod()
null
if not resolvable (e.g. in case of a non-standard HTTP method)java.net.URI getURI()
null
)