Class PartBase

    • Constructor Summary

      Constructors 
      Constructor Description
      PartBase​(java.lang.String name, java.lang.String contentType, java.lang.String charSet, java.lang.String transferEncoding)
      Deprecated.
      Constructor.
    • Constructor Detail

      • PartBase

        public PartBase​(java.lang.String name,
                        java.lang.String contentType,
                        java.lang.String charSet,
                        java.lang.String transferEncoding)
        Deprecated.
        Constructor.
        Parameters:
        name - The name of the part
        contentType - The content type, or null
        charSet - The character encoding, or null
        transferEncoding - The transfer encoding, or null
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated.
        Returns the name.
        Specified by:
        getName in class Part
        Returns:
        The name.
        See Also:
        Part.getName()
      • getContentType

        public java.lang.String getContentType()
        Deprecated.
        Returns the content type of this part.
        Specified by:
        getContentType in class Part
        Returns:
        String The name.
      • getCharSet

        public java.lang.String getCharSet()
        Deprecated.
        Return the character encoding of this part.
        Specified by:
        getCharSet in class Part
        Returns:
        String The name.
      • getTransferEncoding

        public java.lang.String getTransferEncoding()
        Deprecated.
        Returns the transfer encoding of this part.
        Specified by:
        getTransferEncoding in class Part
        Returns:
        String The name.
      • setCharSet

        public void setCharSet​(java.lang.String charSet)
        Deprecated.
        Sets the character encoding.
        Parameters:
        charSet - the character encoding, or null to exclude the character encoding header
      • setContentType

        public void setContentType​(java.lang.String contentType)
        Deprecated.
        Sets the content type.
        Parameters:
        contentType - the content type, or null to exclude the content type header
      • setName

        public void setName​(java.lang.String name)
        Deprecated.
        Sets the part name.
        Parameters:
        name -
      • setTransferEncoding

        public void setTransferEncoding​(java.lang.String transferEncoding)
        Deprecated.
        Sets the transfer encoding.
        Parameters:
        transferEncoding - the transfer encoding, or null to exclude the transfer encoding header