Class ApiVersionWebMvcConfigurerAdapter
java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.servlet.ApiVersionWebMvcConfigurerAdapter
- All Implemented Interfaces:
WebMvcConfigurer
WebMvcConfigurer
that configures checking for an appropriate service broker API
version.- Author:
- Scott Frederick, Benjamin Ihrig
-
Constructor Summary
ModifierConstructorDescriptionprotected
ApiVersionWebMvcConfigurerAdapter
(ApiVersionInterceptor apiVersionInterceptor) Auto-wire the expected beans. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
ApiVersionWebMvcConfigurerAdapter
Auto-wire the expected beans.- Parameters:
apiVersionInterceptor
- the ApiVersionInterceptor bean
-
-
Method Details
-
addInterceptors
- Specified by:
addInterceptors
in interfaceWebMvcConfigurer
-