public class RestGatewaySupport extends Object
Requires a ClientHttpRequestFactory or a RestTemplate instance to be set.
setRestTemplate(org.springframework.web.client.RestTemplate), 
RestTemplate| Modifier and Type | Field and Description | 
|---|---|
| protected Log | loggerLogger available to subclasses. | 
| Constructor and Description | 
|---|
| RestGatewaySupport()Construct a new instance of the  RestGatewaySupport, with default parameters. | 
| RestGatewaySupport(ClientHttpRequestFactory requestFactory)Construct a new instance of the  RestGatewaySupport, with the givenClientHttpRequestFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| RestTemplate | getRestTemplate()Returns the  RestTemplatefor the gateway. | 
| void | setRestTemplate(RestTemplate restTemplate)Sets the  RestTemplatefor the gateway. | 
protected final Log logger
public RestGatewaySupport()
RestGatewaySupport, with default parameters.public RestGatewaySupport(ClientHttpRequestFactory requestFactory)
RestGatewaySupport, with the given ClientHttpRequestFactory.public void setRestTemplate(RestTemplate restTemplate)
RestTemplate for the gateway.public RestTemplate getRestTemplate()
RestTemplate for the gateway.