Uses of Interface
org.htmlunit.attachment.AttachmentHandler
Packages that use AttachmentHandler
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Attachment-related classes.
-
Uses of AttachmentHandler in org.htmlunit
Methods in org.htmlunit that return AttachmentHandlerModifier and TypeMethodDescriptionWebClient.getAttachmentHandler()
Returns the current attachment handler.Methods in org.htmlunit with parameters of type AttachmentHandlerModifier and TypeMethodDescriptionvoid
WebClient.setAttachmentHandler
(AttachmentHandler handler) Sets the attachment handler. -
Uses of AttachmentHandler in org.htmlunit.attachment
Classes in org.htmlunit.attachment that implement AttachmentHandlerModifier and TypeClassDescriptionclass
AnAttachmentHandler
implementation which creates anAttachment
for each attached page, collecting all created attachments into a list.class
Implementation of anAttachmentHandler
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.