Package com.helger.phase4.attachment
Class WSS4JAttachmentCallbackHandler
java.lang.Object
com.helger.phase4.attachment.WSS4JAttachmentCallbackHandler
- All Implemented Interfaces:
CallbackHandler
A Callback Handler implementation for the case of signing/encrypting Attachments via the SwA
(SOAP with Attachments) specification or when using xop:Include in the case of MTOM. This class
is used both in signing/encryption and in verification/decryption
- Author:
- Apache WSS4J, Philip Helger
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWSS4JAttachmentCallbackHandler(@Nullable Iterable<? extends WSS4JAttachment> aSrcAttachments, @NonNull AS4ResourceHelper aResHelper) -
Method Summary
Modifier and TypeMethodDescription@NonNull com.helger.collection.commons.ICommonsList<WSS4JAttachment> final @NonNull AS4ResourceHelpervoid@NonNull com.helger.collection.commons.ICommonsOrderedMap<String, WSS4JAttachment> toString()
-
Field Details
-
ATTACHMENT_ID_ATTACHMENTS
- See Also:
-
-
Constructor Details
-
WSS4JAttachmentCallbackHandler
public WSS4JAttachmentCallbackHandler(@Nullable Iterable<? extends WSS4JAttachment> aSrcAttachments, @WillNotClose @NonNull AS4ResourceHelper aResHelper)
-
-
Method Details
-
getResourceHelper
- Returns:
- The resource manager as passed in the constructor. Never
null.
-
handle
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
getAllResponseAttachments
@ReturnsMutableCopy public @NonNull com.helger.collection.commons.ICommonsList<WSS4JAttachment> getAllResponseAttachments() -
responseAttachments
@ReturnsMutableObject public @NonNull com.helger.collection.commons.ICommonsOrderedMap<String,WSS4JAttachment> responseAttachments() -
toString
-