SecureBlackbox 2020 Java Edition

Questions / Feedback?

BeforeSendAttachment Event

Marks the start of sending an attachment.

Syntax

public class DefaultSoapclientEventListener implements SoapclientEventListener {
  ...
  public void beforeSendAttachment(SoapclientBeforeSendAttachmentEvent e) {}
  ...
}

public class SoapclientBeforeSendAttachmentEvent {
  public boolean lastAttachment;
}

Remarks

Use either AttachmentBytes, AttachmentFile or AttachmentStream properties to pass attachment to the class.

Set LastAttachment parameter to False to indicate that you have more than one attachment to pass.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Java Edition - Version 20.0 [Build 8156]