public class HttpUriRequestBase extends org.apache.hc.core5.http.message.BasicClassicHttpRequest implements org.apache.hc.core5.concurrent.CancellableDependency, Configurable
| Constructor and Description |
|---|
HttpUriRequestBase(String method,
URI requestUri) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel() |
RequestConfig |
getConfig()
Returns actual request configuration.
|
boolean |
isCancelled() |
void |
reset()
Resets internal state of the request making it reusable.
|
void |
setConfig(RequestConfig requestConfig) |
void |
setDependency(org.apache.hc.core5.concurrent.Cancellable cancellable) |
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 boolean cancel()
cancel in interface org.apache.hc.core5.concurrent.Cancellablepublic boolean isCancelled()
isCancelled in interface org.apache.hc.core5.concurrent.CancellableDependencypublic void setDependency(org.apache.hc.core5.concurrent.Cancellable cancellable)
setDependency in interface org.apache.hc.core5.concurrent.CancellableDependencypublic 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–2018 The Apache Software Foundation. All rights reserved.