Class MultipartFormFieldRequest


  • public final class MultipartFormFieldRequest
    extends java.lang.Object
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        The name of the form field
      • getData

        public java.lang.String getData()
        Returns:
        The data for the form field.
      • getEncoding

        public java.util.Optional<MultipartFormFieldRequestEncoding> getEncoding()
        Returns:
        The encoding of the value of data. Defaults to RAW if not defined.
        • RAW - RAW
        • BASE64 - BASE64
        • GZIP_BASE64 - GZIP_BASE64
      • getFileName

        public java.util.Optional<java.lang.String> getFileName()
        Returns:
        The file name of the form field, if the field is for a file.
      • getContentType

        public java.util.Optional<java.lang.String> getContentType()
        Returns:
        The MIME type of the file, if the field is for a file.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object