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
Modifier and TypeFieldDescriptionstatic final String
Context property that contains the provided attachments that need to be added to the message. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleMessage
(org.apache.cxf.binding.soap.SoapMessage message) Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-