spring-framework / org.springframework.web.multipart.support / StandardMultipartHttpServletRequest / <init>

<init>

StandardMultipartHttpServletRequest(request: HttpServletRequest)

Create a new StandardMultipartHttpServletRequest wrapper for the given request, immediately parsing the multipart content.

Parameters

request - the servlet request to wrap

Exceptions

MultipartException - if parsing failed

StandardMultipartHttpServletRequest(request: HttpServletRequest, lazyParsing: Boolean)

Create a new StandardMultipartHttpServletRequest wrapper for the given request.

Parameters

request - the servlet request to wrap

lazyParsing - whether multipart parsing should be triggered lazily on first access of multipart files or parameters

Exceptions

MultipartException - if an immediate parsing attempt failed