Class MultiPartWriter

    • Method Detail

      • getBoundary

        public String getBoundary()
        Deprecated.
      • startPart

        public void startPart​(String contentType)
                       throws IOException
        Deprecated.
        Start creation of the next Content.
        Parameters:
        contentType - the content type
        Throws:
        IOException - if unable to write the part
      • endPart

        public void endPart()
                     throws IOException
        Deprecated.
        end creation of the next Content.
        Throws:
        IOException - if unable to write the part
      • startPart

        public void startPart​(String contentType,
                              String[] headers)
                       throws IOException
        Deprecated.
        Start creation of the next Content.
        Parameters:
        contentType - the content type of the part
        headers - the part headers
        Throws:
        IOException - if unable to write the part