public class FaultMediator extends AbstractMediator
Modifier and Type | Field and Description |
---|---|
static int |
POX
Make a POX fault
|
static int |
SOAP11
Make a SOAP 1.1 fault
|
static int |
SOAP12
Make a SOAP 1.2 fault
|
static String |
WSA_ACTION |
log, trace, traceState
Constructor and Description |
---|
FaultMediator() |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isContentAware, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
public static final String WSA_ACTION
public static final int SOAP11
public static final int SOAP12
public static final int POX
public boolean mediate(MessageContext synCtx)
Mediator
synCtx
- the current message for mediationpublic int getSoapVersion()
public void setSoapVersion(int soapVersion)
public boolean isMarkAsResponse()
public void setMarkAsResponse(boolean markAsResponse)
public boolean isSerializeResponse()
public void setSerializeResponse(boolean serializeResponse)
public QName getFaultCodeValue()
public void setFaultCodeValue(QName faultCodeValue)
public SynapseXPath getFaultCodeExpr()
public void setFaultCodeExpr(SynapseXPath faultCodeExpr)
public String getFaultReasonValue()
public void setFaultReasonValue(String faultReasonValue)
public SynapseXPath getFaultReasonExpr()
public void setFaultReasonExpr(SynapseXPath faultReasonExpr)
public URI getFaultNode()
public void setFaultNode(URI faultNode)
public URI getFaultRole()
public void setFaultRole(URI faultRole)
public String getFaultDetail()
public void setFaultDetail(String faultDetail)
public SynapseXPath getFaultDetailExpr()
public void setFaultDetailExpr(SynapseXPath faultDetailExpr)
public List<org.apache.axiom.om.OMElement> getFaultDetailElements()
public void addFaultDetailElement(org.apache.axiom.om.OMElement element)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.