@Deprecated public class MockAsyncClientHttpRequest extends MockClientHttpRequest implements AsyncClientHttpRequest
MockClientHttpRequest that also implements
 AsyncClientHttpRequest by wrapping the response in a
 SettableListenableFuture.| Constructor and Description | 
|---|
MockAsyncClientHttpRequest()
Deprecated.  
  | 
MockAsyncClientHttpRequest(HttpMethod httpMethod,
                          java.net.URI uri)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
ListenableFuture<ClientHttpResponse> | 
executeAsync()
Deprecated.  
Execute this request asynchronously, resulting in a Future handle. 
 | 
execute, executeInternal, getMethod, getMethodValue, getURI, isExecuted, setMethod, setResponse, setURI, toStringgetBody, getBodyAsBytes, getBodyAsString, getBodyAsString, getHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMethod, getMethodValue, getURIgetBodygetHeaderspublic MockAsyncClientHttpRequest()
public MockAsyncClientHttpRequest(HttpMethod httpMethod, java.net.URI uri)
public ListenableFuture<ClientHttpResponse> executeAsync() throws java.io.IOException
AsyncClientHttpRequestClientHttpResponse that can be read.executeAsync in interface AsyncClientHttpRequestjava.io.IOException - in case of I/O errors