Interface SpringHttpClientFactory
- All Known Implementing Classes:
DefaultSpringHttpClientFactory
Deprecated, for removal: This API element is subject to removal in a future version.
Used only by deprecated spring-xsuaa library for backward
compatibility reasons
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final List<SpringHttpClientFactory>Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.web.client.RestTemplatecreateRestTemplate(ClientIdentity clientIdentity) Deprecated, for removal: This API element is subject to removal in a future version.default org.springframework.web.client.RestTemplatecreateRestTemplateClient(ClientIdentity clientIdentity) Deprecated, for removal: This API element is subject to removal in a future version.Provides RestTemplate based on ClientIdentity details.
-
Field Details
-
services
Deprecated, for removal: This API element is subject to removal in a future version. -
DEFAULT_SPRING_HTTP_CLIENT_FACTORY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Method Details
-
createRestTemplateClient
default org.springframework.web.client.RestTemplate createRestTemplateClient(ClientIdentity clientIdentity) Deprecated, for removal: This API element is subject to removal in a future version.Provides RestTemplate based on ClientIdentity details. For ClientIdentity that is certificate based it will resolve RestTemplate using the provided ClientIdentity, if the ClientIdentity wasn't provided it will return default RestTemplate.- Parameters:
clientIdentity- for X.509 certificate based communicationClientCertificateimplementation of ClientIdentity interface should be provided- Returns:
- RestTemplate
- Throws:
HttpClientException- in case RestTemplate could not be setup
-
createRestTemplate
static org.springframework.web.client.RestTemplate createRestTemplate(ClientIdentity clientIdentity) Deprecated, for removal: This API element is subject to removal in a future version.
-