spring-framework / org.springframework.web.multipart.support / MissingServletRequestPartException

MissingServletRequestPartException

open class MissingServletRequestPartException : ServletException

Raised when the part of a "multipart/form-data" request identified by its name cannot be found.

This may be because the request is not a multipart/form-data request, because the part is not present in the request, or because the web application is not configured correctly for processing multipart requests, e.g. no MultipartResolver.

Author
Rossen Stoyanchev

Since
3.1

Constructors

<init>

MissingServletRequestPartException(partName: String)

Functions

getRequestPartName

open fun getRequestPartName(): String