Package com.helger.phase4.client
Interface IAS4ClientBuildMessageCallback
public interface IAS4ClientBuildMessageCallback
Callback interface for AS4 client message creation.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonAS4Message(AbstractAS4Message<?> aMsg) Called for the created domain object.default voidonEncryptedMimeMessage(AS4MimeMessage aMimeMsg) This method is only called if encryption is enabled and at least one attachments is present.default voidThis method is only called if encryption is enabled and no attachments are present.default voidonSignedSoapDocument(Document aDoc) Called for the signed SOAP document.default voidonSoapDocument(Document aDoc) Called for the unsigned and unencrypted SOAP document.
-
Method Details
-
onAS4Message
Called for the created domain object. That usually also contains the underlying EBMS 3 data model. This method is called for all types.- Parameters:
aMsg- The created message
-
onSoapDocument
Called for the unsigned and unencrypted SOAP document. This method is called for all types.- Parameters:
aDoc- The created SOAP document
-
onSignedSoapDocument
Called for the signed SOAP document. Not all client messages support signing.- Parameters:
aDoc- The signed SOAP document
-
onEncryptedSoapDocument
This method is only called if encryption is enabled and no attachments are present. Only called for User Messages.- Parameters:
aDoc- The encrypted SOAP document
-
onEncryptedMimeMessage
This method is only called if encryption is enabled and at least one attachments is present. Only called for User Messages.- Parameters:
aMimeMsg- The encrypted MIME message
-