Package org.apache.wss4j.stax.test
Class AttachmentCallbackHandler
- java.lang.Object
-
- org.apache.wss4j.stax.test.AttachmentCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class AttachmentCallbackHandler extends Object implements CallbackHandler
A Callback Handler implementation for the case of signing/encrypting Attachments via the SwA (SOAP with Attachments) specification.
-
-
Constructor Summary
Constructors Constructor Description AttachmentCallbackHandler(List<Attachment> attachments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Attachment>
getResponseAttachments()
void
handle(Callback[] callbacks)
-
-
-
Constructor Detail
-
AttachmentCallbackHandler
public AttachmentCallbackHandler(List<Attachment> attachments)
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
getResponseAttachments
public List<Attachment> getResponseAttachments()
-
-