Class MultipartFormData.FormPart
java.lang.Object
org.camunda.bpm.engine.rest.mapper.MultipartFormData.FormPart
- Enclosing class:
- MultipartFormData
Dto representing a part in a multipart form.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
protected InputStream
getInputStream
(org.apache.commons.fileupload.FileItemStream stream) protected byte[]
readBinaryContent
(org.apache.commons.fileupload.FileItemStream stream)
-
Field Details
-
fieldName
-
contentType
-
textContent
-
fileName
-
binaryContent
protected byte[] binaryContent
-
-
Constructor Details
-
FormPart
public FormPart(org.apache.commons.fileupload.FileItemStream stream) -
FormPart
public FormPart()
-
-
Method Details
-
readBinaryContent
protected byte[] readBinaryContent(org.apache.commons.fileupload.FileItemStream stream) -
getInputStream
-
getFieldName
-
getContentType
-
getTextContent
-
getBinaryContent
public byte[] getBinaryContent() -
getFileName
-