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