Package | Description |
---|---|
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
DefaultHandlerExceptionResolver.handleMethodArgumentNotValidException(MethodArgumentNotValidException ex,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Handle the case where an argument annotated with
@Valid such as
an RequestBody or RequestPart argument fails validation. |
Copyright © 2013. All Rights Reserved.