@Configuration @EnableConfigurationProperties(value=SkipperClientProperties.class) public class SkipperClientConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SKIPPERCLIENT_RESTTEMPLATE_BEAN_NAME
Default bean name for
RestTemplate created by SkipperClientConfiguration . |
Constructor and Description |
---|
SkipperClientConfiguration() |
Modifier and Type | Method and Description |
---|---|
SkipperClient |
skipperClient(SkipperClientProperties properties,
org.springframework.web.client.RestTemplate restTemplate) |
org.springframework.web.client.RestTemplate |
skipperClientRestTemplate(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
org.springframework.web.client.RestTemplate |
validateRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
public static final String SKIPPERCLIENT_RESTTEMPLATE_BEAN_NAME
RestTemplate
created by SkipperClientConfiguration
.@Bean(name="skipperClientRestTemplate") public org.springframework.web.client.RestTemplate skipperClientRestTemplate(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean public SkipperClient skipperClient(SkipperClientProperties properties, org.springframework.web.client.RestTemplate restTemplate)
public org.springframework.web.client.RestTemplate validateRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.