Package com.okta.commons.http
Interface Request
-
- All Superinterfaces:
HttpMessage
- All Known Implementing Classes:
DefaultRequest
public interface Request extends HttpMessage
- Since:
- 0.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpMethodgetMethod()QueryStringgetQueryString()java.net.URIgetResourceUrl()Returns the request target resource's Uniform Resource Locator location without a query string.voidsetQueryString(QueryString queryString)-
Methods inherited from interface com.okta.commons.http.HttpMessage
getBody, getHeaders, hasBody, setHeaders
-
-
-
-
Method Detail
-
getMethod
HttpMethod getMethod()
-
getResourceUrl
java.net.URI getResourceUrl()
Returns the request target resource's Uniform Resource Locator location without a query string. Query string parameters are maintained separately via thequeryStringproperty.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.
- Returns:
- the request target resource's Uniform Resource Locator location without a query string.
-
getQueryString
QueryString getQueryString()
-
setQueryString
void setQueryString(QueryString queryString)
-
-