@Bean
		@ConditionalOnMissingBean(value = { AbstractDiscoveryClientOptionalArgs.class },
				search = SearchStrategy.CURRENT)
		public RestTemplateDiscoveryClientOptionalArgs restTemplateDiscoveryClientOptionalArgs(
				TlsProperties tlsProperties,
				EurekaClientHttpRequestFactorySupplier eurekaClientHttpRequestFactorySupplier,
				ObjectProvider<RestTemplateBuilder> restTemplateBuilders) throws GeneralSecurityException, IOException {
			if (logger.isInfoEnabled()) {
				logger.info("Eureka HTTP Client uses RestTemplate.");
			}
			RestTemplateDiscoveryClientOptionalArgs result = new RestTemplateDiscoveryClientOptionalArgs(
					eurekaClientHttpRequestFactorySupplier, restTemplateBuilders::getIfAvailable);
			setupTLS(result, tlsProperties);
			return result;
		}
@deprecated {@link RestTemplate}-based implementation to be removed in favour of
{@link RestClient}-based implementation.
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/config/DiscoveryClientOptionalArgsConfiguration.java