public class HttpUriRequestBase extends org.apache.hc.core5.http.message.BasicClassicHttpRequest implements CancellableAware, Configurable
| Constructor and Description |
|---|
HttpUriRequestBase(String method,
URI requestUri) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
RequestConfig |
getConfig()
Returns actual request configuration.
|
boolean |
isAborted() |
boolean |
isCancelled() |
void |
reset()
Resets internal state of the request making it reusable.
|
void |
setCancellable(org.apache.hc.core5.concurrent.Cancellable cancellable)
Sets
Cancellable for the ongoing operation. |
void |
setConfig(RequestConfig requestConfig) |
String |
toString() |
getEntity, setEntityaddHeader, getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, getVersion, setAuthority, setHeader, setPath, setScheme, setVersionaddHeader, clear, containsHeader, containsHeaders, getAllHeaders, getCondensedHeader, getFirstHeader, getHeaders, getLastHeader, getSingleHeader, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setSchemepublic void abort()
public boolean isCancelled()
isCancelled in interface CancellableAwarepublic boolean isAborted()
public void setCancellable(org.apache.hc.core5.concurrent.Cancellable cancellable)
CancellableAwareCancellable for the ongoing operation.setCancellable in interface CancellableAwarepublic void reset()
public void setConfig(RequestConfig requestConfig)
public RequestConfig getConfig()
ConfigurablegetConfig in interface Configurablepublic String toString()
toString in class org.apache.hc.core5.http.message.BasicHttpRequestCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.