Package org.teiid.spring.data.rest
Class RestConfiguration
- java.lang.Object
-
- org.teiid.spring.data.rest.RestConfiguration
-
@Configuration @ConditionalOnClass({org.teiid.translator.ws.WSExecutionFactory.class,org.springframework.boot.web.client.RestTemplateBuilder.class}) public class RestConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description RestConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestConnectionFactory
restConnectionFactory()
org.springframework.web.client.RestTemplate
restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder)
-
-
-
Method Detail
-
restTemplate
@Bean @ConditionalOnMissingBean public org.springframework.web.client.RestTemplate restTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder)
-
restConnectionFactory
@Bean(name="rest") @ConditionalOnMissingBean(RestConnectionFactory.class) @ConfigurationProperties("spring.teiid.data.rest") public RestConnectionFactory restConnectionFactory()
-
-