public class SAAJInInterceptor extends AbstractSoapInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
SAAJInInterceptor.SAAJPreInInterceptor
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.
|
Modifier and Type | Field and Description |
---|---|
static SAAJInInterceptor |
INSTANCE |
Constructor and Description |
---|
SAAJInInterceptor() |
SAAJInInterceptor(String phase) |
Modifier and Type | Method and Description |
---|---|
Collection<PhaseInterceptor<? extends Message>> |
getAdditionalInterceptors()
Returns a collection of Interceptors that should be added to the chain
whenever this interceptor is added.
|
void |
handleMessage(SoapMessage message)
Intercepts a message.
|
static void |
replaceHeaders(SOAPMessage soapMessage,
SoapMessage message) |
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleFault
public static final SAAJInInterceptor INSTANCE
public SAAJInInterceptor()
public SAAJInInterceptor(String phase)
public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
PhaseInterceptor
getAdditionalInterceptors
in interface PhaseInterceptor<SoapMessage>
getAdditionalInterceptors
in class AbstractPhaseInterceptor<SoapMessage>
public void handleMessage(SoapMessage message) throws Fault
Interceptor
Fault
public static void replaceHeaders(SOAPMessage soapMessage, SoapMessage message) throws SOAPException
SOAPException
Apache CXF