public abstract class StandardServletPartUtils extends Object
Part handling.HttpServletRequest.getParts(), 
StandardServletMultipartResolver| Constructor and Description | 
|---|
| StandardServletPartUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | bindParts(HttpServletRequest request,
         MutablePropertyValues mpvs,
         boolean bindEmpty)Bind all parts from the given servlet request. | 
| static MultiValueMap<String,Part> | getParts(HttpServletRequest request)Retrieve all parts from the given servlet request. | 
| static List<Part> | getParts(HttpServletRequest request,
        String name)Retrieve all parts with the given name from the given servlet request. | 
public static MultiValueMap<String,Part> getParts(HttpServletRequest request) throws MultipartException
request - the servlet requestMultipartException - in case of failurespublic static List<Part> getParts(HttpServletRequest request, String name) throws MultipartException
request - the servlet requestname - the name to look forMultipartException - in case of failurespublic static void bindParts(HttpServletRequest request, MutablePropertyValues mpvs, boolean bindEmpty) throws MultipartException
request - the servlet requestmpvs - the property values to bind tobindEmpty - whether to bind empty parts as wellMultipartException - in case of failures