Interface SpringHttpClientFactory

All Known Implementing Classes:
DefaultSpringHttpClientFactory

@Deprecated(forRemoval=true) public interface SpringHttpClientFactory
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.web.client.RestTemplate
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    default org.springframework.web.client.RestTemplate
    Deprecated, for removal: This API element is subject to removal in a future version.
    Provides RestTemplate based on ClientIdentity details.
  • Field Details

    • services

      static final List<SpringHttpClientFactory> services
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DEFAULT_SPRING_HTTP_CLIENT_FACTORY

      static final String 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 communication ClientCertificate implementation 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.