Class RestGatewaySupport
java.lang.Object
org.springframework.web.client.support.RestGatewaySupport
Deprecated, for removal: This API element is subject to removal in a future version.
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.LogDeprecated, for removal: This API element is subject to removal in a future version.Logger available to subclasses. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Construct a new instance of theRestGatewaySupport, with default parameters.RestGatewaySupport(ClientHttpRequestFactory requestFactory) Deprecated, for removal: This API element is subject to removal in a future version.Construct a new instance of theRestGatewaySupport, with the givenClientHttpRequestFactory. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns theRestTemplatefor the gateway.voidsetRestTemplate(RestTemplate restTemplate) Deprecated, for removal: This API element is subject to removal in a future version.Sets theRestTemplatefor the gateway.
-
Field Details
-
logger
protected final org.apache.commons.logging.Log loggerDeprecated, for removal: This API element is subject to removal in a future version.Logger available to subclasses.
-
-
Constructor Details
-
RestGatewaySupport
public RestGatewaySupport()Deprecated, for removal: This API element is subject to removal in a future version.Construct a new instance of theRestGatewaySupport, with default parameters. -
RestGatewaySupport
Deprecated, for removal: This API element is subject to removal in a future version.Construct a new instance of theRestGatewaySupport, with the givenClientHttpRequestFactory.- See Also:
-
-
Method Details
-
setRestTemplate
Deprecated, for removal: This API element is subject to removal in a future version.Sets theRestTemplatefor the gateway. -
getRestTemplate
Deprecated, for removal: This API element is subject to removal in a future version.Returns theRestTemplatefor the gateway.
-
RestClient.