Class SOAPHandlerInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<T>
-
- org.apache.cxf.jaxws.handler.AbstractJAXWSHandlerInterceptor<T>
-
- org.apache.cxf.jaxws.handler.AbstractProtocolHandlerInterceptor<SoapMessage>
-
- 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
Constructors Constructor Description SOAPHandlerInterceptor(javax.xml.ws.Binding binding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.xml.ws.handler.MessageContextcreateProtocolMessageContext(SoapMessage message)protected QNamegetOpQName(Exchange ex, Object data)Set<URI>getRoles()Set<QName>getUnderstoodHeaders()voidhandleFault(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.voidhandleMessage(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
-
-
-
-
Method Detail
-
getRoles
public Set<URI> getRoles()
- Specified by:
getRolesin interfaceSoapInterceptor
-
getUnderstoodHeaders
public Set<QName> getUnderstoodHeaders()
- Specified by:
getUnderstoodHeadersin interfaceSoapInterceptor
-
handleMessage
public void handleMessage(SoapMessage message)
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.- Specified by:
handleMessagein interfaceInterceptor<SoapMessage>- Overrides:
handleMessagein classAbstractProtocolHandlerInterceptor<SoapMessage>
-
createProtocolMessageContext
protected javax.xml.ws.handler.MessageContext createProtocolMessageContext(SoapMessage message)
- Overrides:
createProtocolMessageContextin classAbstractProtocolHandlerInterceptor<SoapMessage>
-
handleFault
public void handleFault(SoapMessage message)
Description copied from interface:InterceptorCalled 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:
handleFaultin interfaceInterceptor<SoapMessage>- Overrides:
handleFaultin classAbstractPhaseInterceptor<SoapMessage>
-
getOpQName
protected QName getOpQName(Exchange ex, Object data)
- Overrides:
getOpQNamein classAbstractJAXWSHandlerInterceptor<SoapMessage>
-
-