@Configuration
@ConditionalOnMissingBean(name="yarnRestTemplate")
@ConditionalOnClass(value={org.apache.http.client.HttpClient.class,org.springframework.web.client.RestTemplate.class})
public class FallbackYarnRestTemplateAutoConfiguration
extends java.lang.Object
Constructor and Description |
---|
FallbackYarnRestTemplateAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.client.RestTemplate |
restTemplate() |