org.camunda.bpm.engine.rest.mapper
Class MultipartFormData.FormPart

java.lang.Object
  extended by 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
protected  byte[] binaryContent
           
protected  String contentType
           
protected  String fieldName
           
protected  String fileName
           
protected  String textContent
           
 
Constructor Summary
MultipartFormData.FormPart()
           
MultipartFormData.FormPart(org.apache.commons.fileupload.FileItemStream stream)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldName

protected String fieldName

contentType

protected String contentType

textContent

protected String textContent

fileName

protected String fileName

binaryContent

protected byte[] binaryContent
Constructor Detail

MultipartFormData.FormPart

public MultipartFormData.FormPart(org.apache.commons.fileupload.FileItemStream stream)

MultipartFormData.FormPart

public MultipartFormData.FormPart()
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()


Copyright © 2016 camunda services GmbH. All rights reserved.