org.apache.cxf.ws.rm.soap
Class RMSoapInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.ws.rm.soap.RMSoapInInterceptor
- All Implemented Interfaces:
- SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>
public class RMSoapInInterceptor
- extends AbstractSoapInterceptor
Protocol Handler responsible for {en|de}coding the RM
Properties for {outgo|incom}ing messages.
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 |
jaxbContext
protected static JAXBContext jaxbContext
RMSoapInInterceptor
public RMSoapInInterceptor()
- Constructor.
getUnderstoodHeaders
public Set<QName> getUnderstoodHeaders()
- Specified by:
getUnderstoodHeaders
in interface SoapInterceptor
- Overrides:
getUnderstoodHeaders
in class AbstractSoapInterceptor
- Returns:
- the set of SOAP headers understood by this handler
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
unmarshalRMProperties
public RMProperties unmarshalRMProperties(SoapMessage message)
- Decode the RM properties from protocol-specific headers.
- Parameters:
message
- the SOAP message
- Returns:
- the RM properties
decodeHeaders
public void decodeHeaders(SoapMessage message,
List<Header> headers,
RMProperties rmps)
Apache CXF