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

<init>

RequestPartServletServerHttpRequest(request: HttpServletRequest, partName: String)

Create a new RequestPartServletServerHttpRequest instance.

Parameters

request - the current servlet request

partName - the name of the part to adapt to the ServerHttpRequest contract

Exceptions

MissingServletRequestPartException - if the request part cannot be found

MultipartException - if MultipartHttpServletRequest cannot be initialized