@Configuration public static class InterNodeCommunicationWebApplication.WebMvcConfiguration extends WebMvcConfigurerAdapter
ObjectMapper used for converting JSON.| Constructor and Description |
|---|
WebMvcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureAsyncSupport(AsyncSupportConfigurer configurer) |
void |
configureContentNegotiation(ContentNegotiationConfigurer configurer) |
void |
configurePathMatch(PathMatchConfigurer configurer) |
void |
extendMessageConverters(List<HttpMessageConverter<?>> converters) |
void |
setServerProperties(ServerProperties serverProperties)
Sets the server properties used by this configuration.
|
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureViewResolvers, extendHandlerExceptionResolvers, getMessageCodesResolver, getValidatorpublic void configureAsyncSupport(AsyncSupportConfigurer configurer)
configureAsyncSupport in interface WebMvcConfigurerconfigureAsyncSupport in class WebMvcConfigurerAdapterpublic void configureContentNegotiation(ContentNegotiationConfigurer configurer)
configureContentNegotiation in interface WebMvcConfigurerconfigureContentNegotiation in class WebMvcConfigurerAdapterpublic void configurePathMatch(PathMatchConfigurer configurer)
configurePathMatch in interface WebMvcConfigurerconfigurePathMatch in class WebMvcConfigurerAdapterpublic void extendMessageConverters(List<HttpMessageConverter<?>> converters)
extendMessageConverters in interface WebMvcConfigurerextendMessageConverters in class WebMvcConfigurerAdapter@Autowired public void setServerProperties(ServerProperties serverProperties)
serverProperties - server properties to be used by this configuration.Copyright © 2011–2017 aquenos GmbH. All rights reserved.