Package org.apache.cxf.ws.rm.soap
Class RMSoapOutInterceptor
- 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.RMSoapOutInterceptor
-
- 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 RMSoapOutInterceptor extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptorProtocol Handler responsible for {en|de}coding the RM Properties for {outgo|incom}ing messages.
-
-
Field Summary
Fields Modifier and Type Field Description protected static javax.xml.bind.JAXBContextjaxbContext
-
Constructor Summary
Constructors Constructor Description RMSoapOutInterceptor()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidencode(org.apache.cxf.binding.soap.SoapMessage message, RMProperties rmps)Encode the current RM properties in protocol-specific headers.static voidencodeFault(org.apache.cxf.binding.soap.SoapMessage message, SequenceFault sf)Encode the SequenceFault in protocol-specific header.Set<QName>getUnderstoodHeaders()voidhandleMessage(org.apache.cxf.binding.soap.SoapMessage message)-
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
-
-
-
-
Method Detail
-
getUnderstoodHeaders
public Set<QName> getUnderstoodHeaders()
- Specified by:
getUnderstoodHeadersin interfaceorg.apache.cxf.binding.soap.interceptor.SoapInterceptor- Overrides:
getUnderstoodHeadersin 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
-
encode
public static void encode(org.apache.cxf.binding.soap.SoapMessage message, RMProperties rmps)Encode the current RM properties in protocol-specific headers.- Parameters:
message- the SOAP message.rmps- the current RM properties.
-
encodeFault
public static void encodeFault(org.apache.cxf.binding.soap.SoapMessage message, SequenceFault sf)Encode the SequenceFault in protocol-specific header.- Parameters:
message- the SOAP message.sf- the SequenceFault.
-
-