@Configuration @ConditionalOnClass(value={org.teiid.runtime.EmbeddedServer.class,org.teiid.translator.ws.WSExecutionFactory.class,org.springframework.boot.web.client.RestTemplateBuilder.class}) public class RestConfiguration extends Object
Constructor and Description |
---|
RestConfiguration() |
Modifier and Type | Method and Description |
---|---|
RestConnectionFactory |
restConnectionFactory() |
org.springframework.web.client.RestTemplate |
restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder) |
@Bean @ConditionalOnMissingBean public org.springframework.web.client.RestTemplate restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder)
@Bean(name="rest") @ConditionalOnMissingBean(value=RestConnectionFactory.class) public RestConnectionFactory restConnectionFactory()
Copyright © 2019. All rights reserved.