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() |
SynapsePath |
getExpression() |
String |
getMediatorName()
Returns the name of the class of respective mediator.
|
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(SynapsePath expression) |
void |
setQName(QName qName) |
void |
setScope(String scope) |
void |
setValue(String value) |
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAltering, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public 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 String getScope()
public void setScope(String scope)
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 SynapsePath getExpression()
public List<org.apache.axiom.om.OMElement> getEmbeddedXml()
public void addEmbeddedXml(org.apache.axiom.om.OMElement element)
public boolean hasEmbeddedXml()
public boolean isImplicit()
public void setExpression(SynapsePath expression)
public boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractMediator
public String getMediatorName()
AbstractMediator
getMediatorName
in interface Mediator
getMediatorName
in class AbstractMediator
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.