@Configuration public class RouterWebMvcConfigurer extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
RouterWebMvcConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
RouterRestTemplateInterceptor |
routerClientHttpRequestIntercptor(List<org.springframework.web.client.RestTemplate> restTemplates) |
RouterHystrixConcurrencyStrategy |
routerHystrixConcurrencyStrategy() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator@Bean public RouterRestTemplateInterceptor routerClientHttpRequestIntercptor(@Autowired(required=false) @LoadBalanced List<org.springframework.web.client.RestTemplate> restTemplates)
@Bean
@ConditionalOnProperty(value="servicecomb.router.hystrix.enabled",
matchIfMissing=true)
public RouterHystrixConcurrencyStrategy routerHystrixConcurrencyStrategy()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2023 Pivotal Software, Inc.. All rights reserved.