java.lang.Object | |
↳ | org.springframework.http.client.support.HttpAccessor |
Known Direct Subclasses |
Known Indirect Subclasses |
Base class for RestTemplate
and other HTTP accessing gateway helpers, defining common properties
such as the ClientHttpRequestFactory
to operate on.
Not intended to be used directly. See RestTemplate
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger | Logger available to subclasses. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the request factory that this accessor uses for obtaining
HttpRequests . | |||||||||||
Set the request factory that this accessor uses for obtaining
HttpRequests . |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
ClientHttpRequest via this template's ClientHttpRequestFactory . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Logger available to subclasses.
Return the request factory that this accessor uses for obtaining HttpRequests
.
Set the request factory that this accessor uses for obtaining HttpRequests
.
Create a new ClientHttpRequest
via this template's ClientHttpRequestFactory
.
url | the URL to connect to |
---|---|
method | the HTTP method to exectute (GET, POST, etc.) |
IOException | in case of I/O errors |
---|