Class MultipartFormData.FormPart
- java.lang.Object
-
- org.camunda.bpm.engine.rest.mapper.MultipartFormData.FormPart
-
- Enclosing class:
- MultipartFormData
public static class MultipartFormData.FormPart extends Object
Dto representing a part in a multipart form.
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
binaryContent
protected String
contentType
protected String
fieldName
protected String
fileName
protected String
textContent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBinaryContent()
String
getContentType()
String
getFieldName()
String
getFileName()
protected InputStream
getInputStream(org.apache.commons.fileupload.FileItemStream stream)
String
getTextContent()
protected byte[]
readBinaryContent(org.apache.commons.fileupload.FileItemStream stream)
-
-
-
Method Detail
-
readBinaryContent
protected byte[] readBinaryContent(org.apache.commons.fileupload.FileItemStream stream)
-
getInputStream
protected InputStream getInputStream(org.apache.commons.fileupload.FileItemStream stream)
-
getFieldName
public String getFieldName()
-
getContentType
public String getContentType()
-
getTextContent
public String getTextContent()
-
getBinaryContent
public byte[] getBinaryContent()
-
getFileName
public String getFileName()
-
-