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(Iterable<? extends WSS4JAttachment> aSrcAttachments, AS4ResourceHelper aResHelper) -
Method Summary
Modifier and TypeMethodDescriptioncom.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> final AS4ResourceHelpervoidcom.helger.commons.collection.impl.ICommonsOrderedMap<String, WSS4JAttachment> toString()
-
Field Details
-
ATTACHMENT_ID_ATTACHMENTS
- See Also:
-
-
Constructor Details
-
WSS4JAttachmentCallbackHandler
public WSS4JAttachmentCallbackHandler(@Nullable Iterable<? extends WSS4JAttachment> aSrcAttachments, @Nonnull @WillNotClose AS4ResourceHelper aResHelper)
-
-
Method Details
-
getResourceHelper
- Returns:
- The resource manager as passed in the constructor. Never
null.
-
handle
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
getAllResponseAttachments
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> getAllResponseAttachments() -
responseAttachments
@Nonnull @ReturnsMutableObject public com.helger.commons.collection.impl.ICommonsOrderedMap<String,WSS4JAttachment> responseAttachments() -
toString
-