类的使用
org.springframework.web.multipart.support.MissingServletRequestPartException
使用MissingServletRequestPartException的程序包 程序包 说明 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 theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.multipart.support中MissingServletRequestPartException的使用
抛出MissingServletRequestPartException的org.springframework.web.multipart.support中的构造器 构造器 说明 RequestPartServletServerHttpRequest(HttpServletRequest request, String requestPartName)
Create a newRequestPartServletServerHttpRequest
instance.org.springframework.web.servlet.mvc.method.annotation中MissingServletRequestPartException的使用
参数类型为MissingServletRequestPartException的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 protected ResponseEntity<Object>
ResponseEntityExceptionHandler. handleMissingServletRequestPart(MissingServletRequestPartException ex, HttpHeaders headers, HttpStatus status, WebRequest request)
Customize the response for MissingServletRequestPartException.org.springframework.web.servlet.mvc.support中MissingServletRequestPartException的使用
参数类型为MissingServletRequestPartException的org.springframework.web.servlet.mvc.support中的方法 修饰符和类型 方法 说明 protected ModelAndView
DefaultHandlerExceptionResolver. handleMissingServletRequestPartException(MissingServletRequestPartException ex, HttpServletRequest request, HttpServletResponse response, Object handler)
Handle the case where an @RequestPart, aMultipartFile
, or ajavax.servlet.http.Part
argument is required but is missing.