public class ApiVersionWebMvcConfigurerAdapter extends Object implements WebMvcConfigurer
WebMvcConfigurer that configures checking for an appropriate service broker API version.| Modifier | Constructor and Description |
|---|---|
protected |
ApiVersionWebMvcConfigurerAdapter(ApiVersionInterceptor apiVersionInterceptor)
Auto-wire the expected beans
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptors(InterceptorRegistry registry) |
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, getValidatorprotected ApiVersionWebMvcConfigurerAdapter(ApiVersionInterceptor apiVersionInterceptor)
apiVersionInterceptor - the ApiVersionInterceptor beanpublic void addInterceptors(InterceptorRegistry registry)
addInterceptors in interface WebMvcConfigurer