Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.edgarespina.mwa;
 
Apply sensible defaults Spring MVC options, like:
  • Enable default servlet.
  • Get HandlerExceptionResolver from the Spring Application Context.

Author(s):
edgar.espina
Since:
0.1
The default object mapper name.
  public static final String OBJECT_MAPPER = "globalObjectMapper";

  
Enable the default servlet.
      final DefaultServletHandlerConfigurer configurer) {
    configurer.enable();
  }

  
Publish a new object mapper.

Returns:
A new object mapper.
  @Bean(name = )
    return new ObjectMapper();
  }
New to GrepCode? Check out our FAQ X