Class FileDataBodyPart

  • All Implemented Interfaces:
    EntityPart

    public class FileDataBodyPart
    extends FormDataBodyPart
    An extension of FormDataBodyPart for associating File File as a body part entity.

    This class may be used to create body parts that contains a file attachments. Appropriate Content-Disposition parameters and Content-Type header will be derived from the file.

    Author:
    Imran M Yousuf (imran at smartitengineering.com), Paul Sandoz, Michal Gajdos