Package org.apache.cxf.binding.soap.saaj
Class SAAJInInterceptor.SAAJPreInInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-
- org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
-
- org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.SAAJPreInInterceptor
-
- All Implemented Interfaces:
SoapInterceptor,Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
- Enclosing class:
- SAAJInInterceptor
public static class SAAJInInterceptor.SAAJPreInInterceptor extends AbstractSoapInterceptor
This 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 Modifier and Type Field Description static SAAJInInterceptor.SAAJPreInInterceptorINSTANCE
-
Constructor Summary
Constructors Constructor Description SAAJPreInInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.soap.MessageFactorygetFactory(SoapMessage message)voidhandleMessage(SoapMessage message)Intercepts a 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 Detail
-
INSTANCE
public static final SAAJInInterceptor.SAAJPreInInterceptor INSTANCE
-
-
Method Detail
-
handleMessage
public void handleMessage(SoapMessage message) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
getFactory
public javax.xml.soap.MessageFactory getFactory(SoapMessage message) throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
-
-