@Configuration @PropertySource(value="classpath:endpoint.properties") @Import(value=edu.wisc.my.restproxy.config.RestProxyConfiguration.class) @EnableWebMvc public class RestProxyApplicationConfiguration extends Object
| Constructor and Description |
|---|
RestProxyApplicationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertyPlaceholderConfigurer()
This bean is required for
Value annotations to be able to accept placeholders. |
org.springframework.web.client.RestTemplate |
restTemplate()
This bean adds in unsupported return types.
|
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertyPlaceholderConfigurer()
Value annotations to be able to accept placeholders.PropertySourcesPlaceholderConfigurer@Bean public org.springframework.web.client.RestTemplate restTemplate()
RestTemplateCopyright © 2016. All rights reserved.