Class PartyRoleSwaggerConfig
java.lang.Object
org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
de.hybris.platform.partyroletmfwebservices.v1.config.PartyRoleSwaggerConfig
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.web.context.ServletContextAware
@Configuration
@ImportResource("WEB-INF/config/v1/springmvc-v1-servlet.xml")
public class PartyRoleSwaggerConfig
extends org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
Spring configuration which replace <mvc:annotation-driven> tag. It allows override default
RequestMappingHandlerMapping with our own mapping handler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) protected voidconfigureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) voidconfigureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) protected booleanvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator, setConfigurersMethods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, beanNameHandlerMapping, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, flashMapManager, getApplicationContext, getArgumentResolvers, getAsyncSupportConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, localeResolver, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcPatternParser, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, routerFunctionMapping, setServletContext, simpleControllerHandlerAdapter, themeResolver, viewControllerHandlerMapping, viewNameTranslator
-
Constructor Details
-
PartyRoleSwaggerConfig
public PartyRoleSwaggerConfig()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Overrides:
setApplicationContextin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport- Throws:
org.springframework.beans.BeansException
-
configureContentNegotiation
public void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) - Overrides:
configureContentNegotiationin classorg.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
configureHandlerExceptionResolvers
protected void configureHandlerExceptionResolvers(List<org.springframework.web.servlet.HandlerExceptionResolver> exceptionResolvers) - Overrides:
configureHandlerExceptionResolversin classorg.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
isLegacyContentNegotiationEnabled
protected boolean isLegacyContentNegotiationEnabled() -
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) - Overrides:
configureMessageConvertersin classorg.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-