@Configuration(value="blAdminWebMvcConfiguration") @ConditionalOnAdmin public class AdminWebMvcConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
| Constructor and Description |
|---|
AdminWebMvcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
Set the default media type to JSON because AJAX calls from the admin UI are expecting JSON.
|
protected org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
createRequestMappingHandlerMapping()
Modify the default handler mapping.
|
addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, defaultServletHandlerMapping, extendHandlerExceptionResolvers, extendMessageConverters, getApplicationContext, getArgumentResolvers, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, getValidator, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingprotected org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping createRequestMappingHandlerMapping()
createRequestMappingHandlerMapping in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportAdminRequestMappingHandlerMappingprotected void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
configureContentNegotiation in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportCopyright © 2017. All rights reserved.