Class MultipartFormContentType

    • Constructor Detail

      • MultipartFormContentType

        public MultipartFormContentType()
        Constructs a multipart token
    • Method Detail

      • getBoundary

        public String getBoundary()
        Returns:
        the multipart chunk boundary
      • setFormFile

        public void setFormFile​(String key,
                                File file)
        Sets a form content file, repeating names (keys) will be overriden.
        Parameters:
        key - The key name, used as file name
        file - The file
      • getFormFiles

        public Map<String,​File> getFormFiles()
        Returns:
        the form file contents map