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, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>
public class SAAJInInterceptor
- extends AbstractSoapInterceptor
Builds a SAAJ tree from the Document fragment inside the message which contains
the SOAP headers and from the XMLStreamReader.
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, 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 |
SAAJInInterceptor
public SAAJInInterceptor()
SAAJInInterceptor
public SAAJInInterceptor(String phase)
getFactory
public javax.xml.soap.MessageFactory getFactory(SoapMessage message)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
handleMessage
public void handleMessage(SoapMessage message)
throws Fault
- Description copied from interface:
Interceptor
- Intercepts a message.
Interceptors should NOT invoke handleMessage or handleFault
on the next interceptor - the interceptor chain will
take care of this.
- Throws:
Fault
replaceHeaders
public static void replaceHeaders(javax.xml.soap.SOAPMessage soapMessage,
SoapMessage message)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
Apache CXF