org.apache.cxf.binding.soap.saaj
Class SAAJInInterceptor.SAAJPreInInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
      extended by org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
          extended by 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
static SAAJInInterceptor.SAAJPreInInterceptor INSTANCE
           
 
Constructor Summary
SAAJInInterceptor.SAAJPreInInterceptor()
           
 
Method Summary
 javax.xml.soap.MessageFactory getFactory(SoapMessage message)
           
 void handleMessage(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
Constructor Detail

SAAJInInterceptor.SAAJPreInInterceptor

public SAAJInInterceptor.SAAJPreInInterceptor()
Method Detail

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

getFactory

public javax.xml.soap.MessageFactory getFactory(SoapMessage message)
                                         throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException


Apache CXF