Package org.htmlunit.attachment


package org.htmlunit.attachment
Attachment-related classes.
  • Class
    Description
    An attachment represents a page received from the server which contains a Content-Disposition=attachment header.
    A handler for attachments, which represent pages received from the server which contain Content-Disposition=attachment headers.
    An AttachmentHandler implementation which creates an Attachment for each attached page, collecting all created attachments into a list.
    Implementation of an AttachmentHandler that mimics how browsers handle attachments, specifically download file into a default folder when attachment response is detected infer filename from octet stream response and use that when saving file if a file already exists, append number to it.