@FunctionalInterface
public interface RestTemplateConfigurator
RestTemplate used in a Client instance.
This is typically used to configure the ClientHttpRequestFactory
to use, and thus the library to create HTTP requests.
Hop provides support for Apache HttpComponents (the default), OkHttp, and standard JDK HTTP facilities.
HttpComponentsRestTemplateConfigurator,
OkHttpRestTemplateConfigurator,
RestTemplate,
ClientHttpRequestFactory| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.client.RestTemplate |
configure(ClientCreationContext context)
Configure a
RestTemplate instance and return it for use in the Client. |
org.springframework.web.client.RestTemplate configure(ClientCreationContext context)
RestTemplate instance and return it for use in the Client.context - some context during client creationRestTemplate to use