| org.apache.cxf.ws.rm.soap.RMSoapInterceptor
RMSoapInterceptor | public class RMSoapInterceptor extends AbstractSoapInterceptor (Code) | | Protocol Handler responsible for {en|de}coding the RM
Properties for {outgo|incom}ing messages.
|
Method Summary | |
void | decode(SoapMessage message) Decode the RM properties from protocol-specific headers
and store them in the message. | public static T | decodeProperty(Class<T> clz, Element headerElement, Unmarshaller unmarshaller) Decodes an RM property from a SOAP header. | void | encode(SoapMessage message) Encode the current RM properties in protocol-specific headers. | public static void | encode(SoapMessage message, RMProperties rmps) Encode the current RM properties in protocol-specific headers. | public static void | encodeFault(SoapMessage message, SequenceFault sf) Encode the SeuqnceFault in protocol-specific header. | public Set<QName> | getUnderstoodHeaders() | public void | handleMessage(SoapMessage message) | void | mediate(SoapMessage message) Mediate message flow, peforming RMProperties {en|de}coding. | public RMProperties | unmarshalRMProperties(SoapMessage message) Decode the RM properties from protocol-specific headers. |
RMSoapInterceptor | public RMSoapInterceptor()(Code) | | Constructor.
|
decode | void decode(SoapMessage message)(Code) | | Decode the RM properties from protocol-specific headers
and store them in the message.
Parameters: message - the SOAP mesage |
decodeProperty | public static T decodeProperty(Class<T> clz, Element headerElement, Unmarshaller unmarshaller) throws JAXBException(Code) | | Decodes an RM property from a SOAP header.
Parameters: clz - the class Parameters: headerElement - the SOAP header element Parameters: marshaller - the JAXB marshaller to use the decoded EndpointReference |
encode | void encode(SoapMessage message)(Code) | | Encode the current RM properties in protocol-specific headers.
Parameters: message - the SOAP message |
encode | public static void encode(SoapMessage message, RMProperties rmps)(Code) | | Encode the current RM properties in protocol-specific headers.
Parameters: message - the SOAP message. Parameters: rmps - the current RM properties. |
encodeFault | public static void encodeFault(SoapMessage message, SequenceFault sf)(Code) | | Encode the SeuqnceFault in protocol-specific header.
Parameters: message - the SOAP message. Parameters: sf - the SequenceFault. |
getUnderstoodHeaders | public Set<QName> getUnderstoodHeaders()(Code) | | the set of SOAP headers understood by this handler |
handleMessage | public void handleMessage(SoapMessage message) throws Fault(Code) | | |
mediate | void mediate(SoapMessage message)(Code) | | Mediate message flow, peforming RMProperties {en|de}coding.
Parameters: message - the messsage |
unmarshalRMProperties | public RMProperties unmarshalRMProperties(SoapMessage message)(Code) | | Decode the RM properties from protocol-specific headers.
Parameters: message - the SOAP message the RM properties |
|
|