public interface HttpUriRequest extends org.apache.hc.core5.http.ClassicHttpRequest, Configurable
ClassicHttpRequest
interface that provides
convenience methods to access request properties such as request URI
and method type.Modifier and Type | Method and Description |
---|---|
void |
abort()
Aborts execution of the request.
|
boolean |
isAborted()
Tests if the request execution has been aborted.
|
getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setScheme, setUri
addHeader, addHeader, getVersion, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersion
containsHeader, countHeaders, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator
getConfig
void abort() throws UnsupportedOperationException
UnsupportedOperationException
- if the abort operation
is not supported / cannot be implemented.boolean isAborted()
true
if the request execution has been aborted,
false
otherwise.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.