|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage> org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor org.apache.cxf.ws.rm.soap.RMSoapInterceptor
public class RMSoapInterceptor
Protocol Handler responsible for {en|de}coding the RM Properties for {outgo|incom}ing messages.
Field Summary | |
---|---|
protected static javax.xml.bind.JAXBContext |
jaxbContext
|
Constructor Summary | |
---|---|
RMSoapInterceptor()
Constructor. |
Method Summary | ||
---|---|---|
static
|
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. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cxf.interceptor.Interceptor |
---|
handleFault |
Field Detail |
---|
protected static javax.xml.bind.JAXBContext jaxbContext
Constructor Detail |
---|
public RMSoapInterceptor()
Method Detail |
---|
public Set<QName> getUnderstoodHeaders()
getUnderstoodHeaders
in interface SoapInterceptor
getUnderstoodHeaders
in class AbstractSoapInterceptor
public void handleMessage(SoapMessage message) throws Fault
Interceptor
Fault
public 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 message
public 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 use
javax.xml.bind.JAXBException
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |