Package org.apache.cxf.binding.soap.saaj
Class SAAJInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.binding.soap.saaj.SAAJInInterceptor
- All Implemented Interfaces:
SoapInterceptor,org.apache.cxf.interceptor.Interceptor<SoapMessage>,org.apache.cxf.phase.PhaseInterceptor<SoapMessage>
Builds a SAAJ tree from the Document fragment inside the message which contains
the SOAP headers and from the XMLStreamReader.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class sets up the Document in the Message so that the ReadHeadersInterceptor can read directly into the SAAJ document instead of creating a new DOM that we would need to copy into the SAAJ later. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>>voidhandleMessage(SoapMessage message) static voidreplaceHeaders(jakarta.xml.soap.SOAPMessage soapMessage, 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, 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
-
INSTANCE
-
-
Constructor Details
-
SAAJInInterceptor
public SAAJInInterceptor() -
SAAJInInterceptor
-
-
Method Details
-
getAdditionalInterceptors
public Collection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>> getAdditionalInterceptors()- Specified by:
getAdditionalInterceptorsin interfaceorg.apache.cxf.phase.PhaseInterceptor<SoapMessage>- Overrides:
getAdditionalInterceptorsin classorg.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-
handleMessage
- Throws:
org.apache.cxf.interceptor.Fault
-
replaceHeaders
public static void replaceHeaders(jakarta.xml.soap.SOAPMessage soapMessage, SoapMessage message) throws jakarta.xml.soap.SOAPException - Throws:
jakarta.xml.soap.SOAPException
-