Package org.apache.cxf.binding.soap.saaj
Class SAAJOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor
- All Implemented Interfaces:
SoapInterceptor,org.apache.cxf.interceptor.Interceptor<SoapMessage>,org.apache.cxf.phase.PhaseInterceptor<SoapMessage>
Sets up the outgoing chain to build a SAAJ tree instead of writing
directly to the output stream. First it will replace the XMLStreamWriter
with one which writes to a SOAPMessage. Then it will add an interceptor
at the end of the chain in the SEND phase which writes the resulting
SOAPMessage.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.soap.MessageFactorygetFactory(SoapMessage message) voidhandleFault(SoapMessage message) voidhandleMessage(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, isGET, isRequestor, setAfter, setBefore
-
Field Details
-
ORIGINAL_XML_WRITER
-
-
Constructor Details
-
SAAJOutInterceptor
public SAAJOutInterceptor()
-
-
Method Details
-
getFactory
public jakarta.xml.soap.MessageFactory getFactory(SoapMessage message) throws jakarta.xml.soap.SOAPException - Throws:
jakarta.xml.soap.SOAPException
-
handleMessage
- Throws:
org.apache.cxf.interceptor.Fault
-
handleFault
- Specified by:
handleFaultin interfaceorg.apache.cxf.interceptor.Interceptor<SoapMessage>- Overrides:
handleFaultin classorg.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-