public final class RestAsyncClientHttpRequestFactory extends Object implements org.springframework.http.client.ClientHttpRequestFactory, org.springframework.http.client.AsyncClientHttpRequestFactory
| Constructor and Description |
|---|
RestAsyncClientHttpRequestFactory(org.apache.http.client.HttpClient client,
org.springframework.core.task.AsyncListenableTaskExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.client.AsyncClientHttpRequest |
createAsyncRequest(URI uri,
org.springframework.http.HttpMethod method) |
org.springframework.http.client.ClientHttpRequest |
createRequest(URI uri,
org.springframework.http.HttpMethod method) |
public RestAsyncClientHttpRequestFactory(org.apache.http.client.HttpClient client,
org.springframework.core.task.AsyncListenableTaskExecutor executor)
public org.springframework.http.client.ClientHttpRequest createRequest(URI uri, org.springframework.http.HttpMethod method) throws IOException
createRequest in interface org.springframework.http.client.ClientHttpRequestFactoryIOExceptionpublic org.springframework.http.client.AsyncClientHttpRequest createAsyncRequest(URI uri, org.springframework.http.HttpMethod method) throws IOException
createAsyncRequest in interface org.springframework.http.client.AsyncClientHttpRequestFactoryIOExceptionCopyright © 2015–2017 Zalando SE. All rights reserved.