Class PartBase

    • Constructor Detail

      • PartBase

        public PartBase​(String name,
                        String contentType,
                        String charSet,
                        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

      • getContentType

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

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

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

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

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

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

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