ClientHttpConnector@Deprecated public interface AsyncClientHttpRequestFactory
AsyncClientHttpRequest objects.
Requests are created by the createAsyncRequest(URI, HttpMethod) method.| Modifier and Type | Method and Description |
|---|---|
AsyncClientHttpRequest |
createAsyncRequest(URI uri,
HttpMethod httpMethod)
Deprecated.
Create a new asynchronous
AsyncClientHttpRequest for the specified URI
and HTTP method. |
AsyncClientHttpRequest createAsyncRequest(URI uri, HttpMethod httpMethod) throws IOException
AsyncClientHttpRequest for the specified URI
and HTTP method.
The returned request can be written to, and then executed by calling
AsyncClientHttpRequest.executeAsync().
uri - the URI to create a request forhttpMethod - the HTTP method to executeIOException - in case of I/O errors