Apache CXF API

org.apache.cxf.jaxws.handler.soap
Class SOAPHandlerInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<T>
      extended by org.apache.cxf.jaxws.handler.AbstractJAXWSHandlerInterceptor<T>
          extended by org.apache.cxf.jaxws.handler.AbstractProtocolHandlerInterceptor<SoapMessage>
              extended by org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor
All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class SOAPHandlerInterceptor
extends AbstractProtocolHandlerInterceptor<SoapMessage>
implements SoapInterceptor


Field Summary
 
Fields inherited from class org.apache.cxf.jaxws.handler.AbstractJAXWSHandlerInterceptor
binding
 
Constructor Summary
SOAPHandlerInterceptor(javax.xml.ws.Binding binding)
           
 
Method Summary
protected  javax.xml.ws.handler.MessageContext createProtocolMessageContext(SoapMessage message)
           
protected  QName getOpQName(Exchange ex, Object data)
           
 Set<URI> getRoles()
           
 Set<QName> getUnderstoodHeaders()
           
 void handleFault(SoapMessage message)
          Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
 void handleMessage(SoapMessage message)
          Intercepts a message.
 
Methods inherited from class org.apache.cxf.jaxws.handler.AbstractJAXWSHandlerInterceptor
getBinding, getInvoker, isMEPComlete, isOutbound, onCompletion, setupBindingOperationInfo
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPHandlerInterceptor

public SOAPHandlerInterceptor(javax.xml.ws.Binding binding)
Method Detail

getRoles

public Set<URI> getRoles()
Specified by:
getRoles in interface SoapInterceptor

getUnderstoodHeaders

public Set<QName> getUnderstoodHeaders()
Specified by:
getUnderstoodHeaders in interface SoapInterceptor

handleMessage

public void handleMessage(SoapMessage message)
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.

Specified by:
handleMessage in interface Interceptor<SoapMessage>
Overrides:
handleMessage in class AbstractProtocolHandlerInterceptor<SoapMessage>

createProtocolMessageContext

protected javax.xml.ws.handler.MessageContext createProtocolMessageContext(SoapMessage message)
Overrides:
createProtocolMessageContext in class AbstractProtocolHandlerInterceptor<SoapMessage>

handleFault

public void handleFault(SoapMessage message)
Description copied from interface: Interceptor
Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.

Specified by:
handleFault in interface Interceptor<SoapMessage>
Overrides:
handleFault in class AbstractPhaseInterceptor<SoapMessage>

getOpQName

protected QName getOpQName(Exchange ex,
                           Object data)
Overrides:
getOpQName in class AbstractJAXWSHandlerInterceptor<SoapMessage>

Apache CXF API

Apache CXF