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 Details

    • fieldName

      protected String fieldName
    • contentType

      protected String contentType
    • textContent

      protected String textContent
    • fileName

      protected String 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

      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()