public class HeaderMediator extends AbstractMediator
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_REMOVE |
static int |
ACTION_SET |
log, trace, traceState| Constructor and Description |
|---|
HeaderMediator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEmbeddedXml(org.apache.axiom.om.OMElement element) |
int |
getAction() |
List<org.apache.axiom.om.OMElement> |
getEmbeddedXml() |
SynapseXPath |
getExpression() |
QName |
getQName() |
String |
getScope() |
String |
getValue() |
boolean |
hasEmbeddedXml() |
boolean |
isContentAware() |
boolean |
isImplicit() |
boolean |
mediate(MessageContext synCtx)
Sets/Removes a SOAP header on the current message
|
void |
setAction(int action) |
void |
setExpression(SynapseXPath expression) |
void |
setQName(QName qName) |
void |
setScope(String scope) |
void |
setValue(String value) |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarnpublic static final int ACTION_SET
public static final int ACTION_REMOVE
public boolean mediate(MessageContext synCtx)
synCtx - the current message which is altered as necessarypublic List<org.apache.axiom.om.OMElement> getEmbeddedXml()
public void addEmbeddedXml(org.apache.axiom.om.OMElement element)
public boolean hasEmbeddedXml()
public boolean isImplicit()
public int getAction()
public void setAction(int action)
public QName getQName()
public void setQName(QName qName)
public String getValue()
public void setValue(String value)
public SynapseXPath getExpression()
public void setExpression(SynapseXPath expression)
public String getScope()
public void setScope(String scope)
public boolean isContentAware()
isContentAware in interface MediatorisContentAware in class AbstractMediatorCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.