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.ObjectDto representing a part in a multipart form.
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]binaryContentprotected java.lang.StringcontentTypeprotected java.lang.StringfieldNameprotected java.lang.StringfileNameprotected java.lang.StringtextContent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBinaryContent()java.lang.StringgetContentType()java.lang.StringgetFieldName()java.lang.StringgetFileName()protected java.io.InputStreamgetInputStream(org.apache.commons.fileupload.FileItemStream stream)java.lang.StringgetTextContent()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()
-
-