public class MediatorPropertyUtils
extends java.lang.Object
Constructor and Description |
---|
MediatorPropertyUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
handleSpecialProperties(java.lang.String propertyName,
java.lang.Object resultValue,
org.apache.axis2.context.MessageContext axis2MessageCtx)
This method removes the current content-type header value from the Axis2 message context and
set the given value.
|
static boolean |
isDynamicName(java.lang.String nameValue)
Validate the given name to identify whether it is static or dynamic key
If the name is in the {} format then it is dynamic key(XPath)
Otherwise just a static name
|
static void |
serializeOMElement(MessageContext msgCtx)
This method just serializes the OMElement, when setting a message type, we need to serialize to access the
inner element.
|
static void |
serializeOMElement(org.apache.axis2.context.MessageContext msgCtx)
This method just serializes the OMElement
|
public static void handleSpecialProperties(java.lang.String propertyName, java.lang.Object resultValue, org.apache.axis2.context.MessageContext axis2MessageCtx)
propertyName
- Message type propertyresultValue
- Value to be setaxis2MessageCtx
- Axis2 message contextpublic static boolean isDynamicName(java.lang.String nameValue)
nameValue
- string to validate as a namepublic static void serializeOMElement(MessageContext msgCtx) throws javax.xml.stream.XMLStreamException
msgCtx
- Synapse MessageContextjavax.xml.stream.XMLStreamException
public static void serializeOMElement(org.apache.axis2.context.MessageContext msgCtx) throws javax.xml.stream.XMLStreamException
msgCtx
- Synapse MessageContextjavax.xml.stream.XMLStreamException
Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.