public class RMSoapInterceptor extends AbstractSoapInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected static javax.xml.bind.JAXBContext |
jaxbContext |
| Constructor and Description |
|---|
RMSoapInterceptor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
decodeProperty(Class<T> clz,
Element headerElement,
javax.xml.bind.Unmarshaller unmarshaller)
Decodes an RM property from a SOAP header.
|
static void |
encode(SoapMessage message,
RMProperties rmps)
Encode the current RM properties in protocol-specific headers.
|
static void |
encodeFault(SoapMessage message,
SequenceFault sf)
Encode the SeuqnceFault in protocol-specific header.
|
Set<QName> |
getUnderstoodHeaders() |
void |
handleMessage(SoapMessage message)
Intercepts a message.
|
RMProperties |
unmarshalRMProperties(SoapMessage message)
Decode the RM properties from protocol-specific headers.
|
getFaultCodePrefix, getRoles, prepareStackTraceaddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleFaultprotected static javax.xml.bind.JAXBContext jaxbContext
public Set<QName> getUnderstoodHeaders()
getUnderstoodHeaders in interface SoapInterceptorgetUnderstoodHeaders in class AbstractSoapInterceptorpublic void handleMessage(SoapMessage message) throws Fault
InterceptorFaultpublic static void encode(SoapMessage message, RMProperties rmps)
message - the SOAP message.rmps - the current RM properties.public static void encodeFault(SoapMessage message, SequenceFault sf)
message - the SOAP message.sf - the SequenceFault.public RMProperties unmarshalRMProperties(SoapMessage message)
message - the SOAP messagepublic static <T> T decodeProperty(Class<T> clz, Element headerElement, javax.xml.bind.Unmarshaller unmarshaller) throws javax.xml.bind.JAXBException
clz - the classheaderElement - the SOAP header elementmarshaller - the JAXB marshaller to usejavax.xml.bind.JAXBExceptionApache CXF