Interface HttpUriRequest
- All Superinterfaces:
org.apache.hc.core5.http.ClassicHttpRequest, Configurable, org.apache.hc.core5.http.HttpEntityContainer, org.apache.hc.core5.http.HttpMessage, org.apache.hc.core5.http.HttpRequest, org.apache.hc.core5.http.MessageHeaders
- All Known Implementing Classes:
HttpDelete, HttpGet, HttpHead, HttpOptions, HttpPatch, HttpPost, HttpPut, HttpTrace, HttpUriRequestBase
Extended version of the
ClassicHttpRequest interface that provides
convenience methods to access request properties such as request URI
and method type.- Since:
- 4.0
-
Method Summary
Methods inherited from interface Configurable
getConfigMethods inherited from interface org.apache.hc.core5.http.HttpEntityContainer
getEntity, setEntityMethods inherited from interface org.apache.hc.core5.http.HttpMessage
addHeader, addHeader, getVersion, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersionMethods inherited from interface org.apache.hc.core5.http.HttpRequest
getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setScheme, setUriMethods inherited from interface org.apache.hc.core5.http.MessageHeaders
containsHeader, countHeaders, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator
-
Method Details
-
abort
Aborts execution of the request.- Throws:
UnsupportedOperationException- if the abort operation is not supported / cannot be implemented.
-
isAborted
boolean isAborted()Tests if the request execution has been aborted.- Returns:
trueif the request execution has been aborted,falseotherwise.
-