Class MultipartFormData.FormPart

  • Enclosing class:
    MultipartFormData

    public static class MultipartFormData.FormPart
    extends Object
    Dto representing a part in a multipart form.
    • Field Detail

      • fieldName

        protected String fieldName
      • contentType

        protected String contentType
      • textContent

        protected String textContent
      • fileName

        protected String fileName
      • binaryContent

        protected byte[] binaryContent
    • Constructor Detail

      • FormPart

        public FormPart​(org.apache.commons.fileupload.FileItemStream stream)
      • FormPart

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