public class HttpUriRequestBase extends BasicClassicHttpRequest implements HttpUriRequest
| Constructor and Description |
|---|
HttpUriRequestBase(java.lang.String method,
java.net.URI requestUri) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts execution of the request.
|
boolean |
cancel() |
RequestConfig |
getConfig()
Returns actual request configuration.
|
boolean |
isAborted()
Tests if the request execution has been aborted.
|
boolean |
isCancelled() |
void |
reset()
Resets internal state of the request making it reusable.
|
void |
setConfig(RequestConfig requestConfig) |
void |
setDependency(Cancellable cancellable) |
java.lang.String |
toString() |
public HttpUriRequestBase(java.lang.String method,
java.net.URI requestUri)
public boolean cancel()
public boolean isCancelled()
public void setDependency(Cancellable cancellable)
public void reset()
public void abort()
throws java.lang.UnsupportedOperationException
HttpUriRequestabort in interface HttpUriRequestjava.lang.UnsupportedOperationException - if the abort operation
is not supported / cannot be implemented.public boolean isAborted()
HttpUriRequestisAborted in interface HttpUriRequesttrue if the request execution has been aborted,
false otherwise.public void setConfig(RequestConfig requestConfig)
public RequestConfig getConfig()
ConfigurablegetConfig in interface Configurablepublic java.lang.String toString()