public interface Request extends HttpMessage
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
getMethod() |
QueryString |
getQueryString() |
URI |
getResourceUrl()
Returns the request target resource's Uniform Resource Locator location without a query string.
|
void |
setBody(InputStream body,
long length) |
void |
setQueryString(QueryString queryString) |
getBody, getHeaders, hasBody, setHeadersHttpMethod getMethod()
URI getResourceUrl()
queryString property.
This URI can be thought of the request fully qualified URL before any question mark indicating query parameters,
e.g. the parts in bold only:
https://some.host.com/some/resource/path/here?some=param&another=param.
Any potential question mark itself and anything after it are not included.QueryString getQueryString()
void setQueryString(QueryString queryString)
void setBody(InputStream body, long length)
Copyright © 2012–2014. All rights reserved.