Class ProvidedAttachmentOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.openehealth.ipf.commons.ihe.ws.cxf.ProvidedAttachmentOutInterceptor
- All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor,Interceptor<org.apache.cxf.binding.soap.SoapMessage>,PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class ProvidedAttachmentOutInterceptor
extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
Interceptor to add provided outgoing attachments for SwA on the client side.
- Author:
- Jens Riemschneider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringContext property that contains the provided attachments that need to be added to the message. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(org.apache.cxf.binding.soap.SoapMessage message) Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault
-
Field Details
-
ATTACHMENTS
Context property that contains the provided attachments that need to be added to the message.
-
-
Constructor Details
-
ProvidedAttachmentOutInterceptor
public ProvidedAttachmentOutInterceptor()Constructs the interceptor.
-
-
Method Details
-
handleMessage
- Throws:
Fault
-