Class RestGatewaySupport
java.lang.Object
org.springframework.web.client.support.RestGatewaySupport
Convenient superclass for application classes that need REST access.
 
Requires a ClientHttpRequestFactory or a RestTemplate instance to be set.
- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.LogLogger available to subclasses.
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a new instance of theRestGatewaySupport, with default parameters.RestGatewaySupport(ClientHttpRequestFactory requestFactory) Construct a new instance of theRestGatewaySupport, with the givenClientHttpRequestFactory.
- 
Method SummaryModifier and TypeMethodDescriptionReturns theRestTemplatefor the gateway.voidsetRestTemplate(RestTemplate restTemplate) Sets theRestTemplatefor the gateway.
- 
Field Details- 
loggerprotected final org.apache.commons.logging.Log loggerLogger available to subclasses.
 
- 
- 
Constructor Details- 
RestGatewaySupportpublic RestGatewaySupport()Construct a new instance of theRestGatewaySupport, with default parameters.
- 
RestGatewaySupportConstruct a new instance of theRestGatewaySupport, with the givenClientHttpRequestFactory.- See Also:
 
 
- 
- 
Method Details- 
setRestTemplateSets theRestTemplatefor the gateway.
- 
getRestTemplateReturns theRestTemplatefor the gateway.
 
-