Generated by
JDiff

org.springframework.web.servlet.mvc.support Documentation Differences

This file contains all the changes in documentation in the package org.springframework.web.servlet.mvc.support as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class DefaultHandlerExceptionResolver

Default implementation of the HandlerExceptionResolver interface that resolves standard Spring exceptions and translates them to corresponding HTTP status codes.

This exception resolver is enabled by default in the org.springframework.web.servlet.DispatcherServlet. @author Arjen Poutsma @author Rossen Stoyanchev @since 3.0 0 @see org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler @see #handleNoSuchRequestHandlingMethod @see #handleHttpRequestMethodNotSupported @see #handleHttpMediaTypeNotSupported @see #handleMissingServletRequestParameter @see #handleServletRequestBindingException @see #handleTypeMismatch @see #handleHttpMessageNotReadable @see #handleHttpMessageNotWritable @see #handleMethodArgumentNotValidExceptionhandleMethodArgumentNotValidException @see #handleMissingServletRequestParameter @see #handleMissingServletRequestPartException @see #handleBindException

Class DefaultHandlerExceptionResolver, ModelAndView handleMethodArgumentNotValidException(MethodArgumentNotValidException, HttpServletRequest, HttpServletResponse, Object)

Handle the case where an argument annotated with {@code @Valid} such asas an RequestBody or RequestPart argument fails validation. An HTTP 400 error is sent back to the client. @param request current HTTP request @param response current HTTP response @param handler the executed handler @return an empty ModelAndView indicating the exception was handled @throws IOException potentially thrown from response.sendError()
Class DefaultHandlerExceptionResolver, ModelAndView handleMissingServletRequestPartException(MissingServletRequestPartException, HttpServletRequest, HttpServletResponse, Object)

Handle the case where an @RequestPart @RequestPart, a MultipartFile, or a {@code javax.servlet.http.Part} argument is required but is missing. An HTTP 400 error is sent back to the client. @param request current HTTP request @param response current HTTP response @param handler the executed handler @return an empty ModelAndView indicating the exception was handled @throws IOException potentially thrown from response.sendError()