Package org.apache.cxf.ws.rm.soap
Class RMSoapInInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
- org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
-
- org.apache.cxf.ws.rm.soap.RMSoapInInterceptor
-
- All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor
,org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class RMSoapInInterceptor extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
Protocol Handler responsible for {en|de}coding the RM Properties for {outgo|incom}ing messages.
-
-
Field Summary
Fields Modifier and Type Field Description protected static JAXBContext
jaxbContext
-
Constructor Summary
Constructors Constructor Description RMSoapInInterceptor()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decodeHeaders(org.apache.cxf.binding.soap.SoapMessage message, List<org.apache.cxf.headers.Header> headers, RMProperties rmps)
Set<QName>
getUnderstoodHeaders()
void
handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
RMProperties
unmarshalRMProperties(org.apache.cxf.binding.soap.SoapMessage message)
Decode the RM properties from protocol-specific headers.-
Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, prepareStackTrace
-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Field Detail
-
jaxbContext
protected static JAXBContext jaxbContext
-
-
Method Detail
-
getUnderstoodHeaders
public Set<QName> getUnderstoodHeaders()
- Specified by:
getUnderstoodHeaders
in interfaceorg.apache.cxf.binding.soap.interceptor.SoapInterceptor
- Overrides:
getUnderstoodHeaders
in classorg.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
- Returns:
- the set of SOAP headers understood by this handler
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage message) throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
-
unmarshalRMProperties
public RMProperties unmarshalRMProperties(org.apache.cxf.binding.soap.SoapMessage message)
Decode the RM properties from protocol-specific headers.- Parameters:
message
- the SOAP message- Returns:
- the RM properties
-
decodeHeaders
public void decodeHeaders(org.apache.cxf.binding.soap.SoapMessage message, List<org.apache.cxf.headers.Header> headers, RMProperties rmps)
-
-