Package | Description |
---|---|
org.springframework.web.multipart.support |
Support classes for the multipart resolution framework.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Constructor and Description |
---|
RequestPartServletServerHttpRequest(HttpServletRequest request,
String requestPartName)
Create a new
RequestPartServletServerHttpRequest instance. |
Modifier and Type | Method and Description |
---|---|
protected ResponseEntity<Object> |
ResponseEntityExceptionHandler.handleMissingServletRequestPart(MissingServletRequestPartException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for MissingServletRequestPartException.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
DefaultHandlerExceptionResolver.handleMissingServletRequestPartException(MissingServletRequestPartException ex,
HttpServletRequest request,
HttpServletResponse response,
Object handler)
Handle the case where an @RequestPart, a
MultipartFile ,
or a javax.servlet.http.Part argument is required but is missing. |