@Deprecated public class AsyncHttpAccessor extends Object
AsyncRestTemplate
and other HTTP accessing gateway helpers, defining common properties
such as the AsyncClientHttpRequestFactory
to operate on.
Not intended to be used directly. See
AsyncRestTemplate
.
AsyncRestTemplate
Modifier and Type | Field and Description |
---|---|
protected Log |
logger
Deprecated.
Logger available to subclasses.
|
Constructor and Description |
---|
AsyncHttpAccessor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected AsyncClientHttpRequest |
createAsyncRequest(URI url,
HttpMethod method)
Deprecated.
Create a new
AsyncClientHttpRequest via this template's
AsyncClientHttpRequestFactory . |
AsyncClientHttpRequestFactory |
getAsyncRequestFactory()
Deprecated.
Return the request factory that this accessor uses for obtaining
HttpRequests . |
void |
setAsyncRequestFactory(AsyncClientHttpRequestFactory asyncRequestFactory)
Deprecated.
Set the request factory that this accessor uses for obtaining
HttpRequests . |
protected final Log logger
public void setAsyncRequestFactory(AsyncClientHttpRequestFactory asyncRequestFactory)
HttpRequests
.public AsyncClientHttpRequestFactory getAsyncRequestFactory()
HttpRequests
.protected AsyncClientHttpRequest createAsyncRequest(URI url, HttpMethod method) throws IOException
AsyncClientHttpRequest
via this template's
AsyncClientHttpRequestFactory
.url
- the URL to connect tomethod
- the HTTP method to execute (GET, POST, etc.)IOException
- in case of I/O errors