Class MultipartFormData.FormPart

  • Enclosing class:
    MultipartFormData

    public static class MultipartFormData.FormPart
    extends java.lang.Object
    Dto representing a part in a multipart form.
    • Constructor Summary

      Constructors 
      Constructor Description
      FormPart()  
      FormPart​(org.apache.commons.fileupload.FileItemStream stream)  
    • Field Detail

      • fieldName

        protected java.lang.String fieldName
      • contentType

        protected java.lang.String contentType
      • textContent

        protected java.lang.String textContent
      • fileName

        protected java.lang.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 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()