@Configuration @ConditionalOnMissingBean(value=org.springframework.web.client.RestTemplate.class) public class NlpClientRestTemplateConfiguration extends Object
RestTemplate| Constructor and Description |
|---|
NlpClientRestTemplateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
defaultJacksonObjectMapper() |
org.springframework.web.client.RestTemplate |
defaultRestTemplate(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
@Bean @ConditionalOnMissingBean(value=com.fasterxml.jackson.databind.ObjectMapper.class) public com.fasterxml.jackson.databind.ObjectMapper defaultJacksonObjectMapper()
@ConditionalOnMissingBean(value=org.springframework.web.client.RestTemplate.class) public org.springframework.web.client.RestTemplate defaultRestTemplate(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Copyright © 2020. All rights reserved.