Class MultipartFormData
- java.lang.Object
-
- org.camunda.bpm.engine.rest.mapper.MultipartFormData
-
public class MultipartFormData extends java.lang.Object
Custom implementation of Multipart Form Data which can be used for handling requests.Provides access to the form parts via
getNamedPart(String)
.- Author:
- Daniel Meyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultipartFormData.FormPart
Dto representing a part in a multipart form.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,MultipartFormData.FormPart>
formParts
-
Constructor Summary
Constructors Constructor Description MultipartFormData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPart(MultipartFormData.FormPart formPart)
MultipartFormData.FormPart
getNamedPart(java.lang.String name)
java.util.Set<java.lang.String>
getPartNames()
-
-
-
Field Detail
-
formParts
protected java.util.Map<java.lang.String,MultipartFormData.FormPart> formParts
-
-
Method Detail
-
addPart
public void addPart(MultipartFormData.FormPart formPart)
-
getNamedPart
public MultipartFormData.FormPart getNamedPart(java.lang.String name)
-
getPartNames
public java.util.Set<java.lang.String> getPartNames()
-
-