public class AddressingHelper extends Object
Constructor and Description |
---|
AddressingHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getAddressingRequirementParemeterValue(AxisDescription axisDescription) |
static String |
getInvocationPatternParameterValue(AxisOperation axisOperation)
Extract the parameter representing the Anonymous flag from the AxisOperation
and return the String value.
|
static String |
getRequestAddressingRequirementParameterValue(MessageContext response) |
static boolean |
isFaultRedirected(MessageContext messageContext)
Returns true if the FaultTo address does not match one of the supported
anonymous urls.
|
static boolean |
isReplyRedirected(MessageContext messageContext)
Returns true if the ReplyTo address does not match one of the supported
anonymous urls.
|
static boolean |
isSyncFaultAllowed(MessageContext messageContext)
Returns true if the FaultTo address matches one of the supported
anonymous urls.
|
static boolean |
isSyncReplyAllowed(MessageContext messageContext)
Returns true if the ReplyTo address matches one of the supported
anonymous urls.
|
static void |
setAddressingRequirementParemeterValue(AxisDescription axisDescription,
String value) |
static void |
setInvocationPatternParameterValue(AxisOperation axisOperation,
String value)
Set the value of an existing unlocked Parameter representing Anonymous or add a new one if one
does not exist.
|
static boolean |
shouldSendFaultToFaultTo(MessageContext messageContext)
If the inbound FaultTo header was invalid and caused a fault, the fault should not be
sent to it.
|
public static boolean isSyncReplyAllowed(MessageContext messageContext)
messageContext
- public static boolean isSyncFaultAllowed(MessageContext messageContext)
messageContext
- isSyncReplyAllowed(org.apache.axis2.context.MessageContext)
public static boolean isReplyRedirected(MessageContext messageContext)
messageContext
- public static boolean isFaultRedirected(MessageContext messageContext)
messageContext
- isReplyRedirected(org.apache.axis2.context.MessageContext)
public static boolean shouldSendFaultToFaultTo(MessageContext messageContext)
public static String getAddressingRequirementParemeterValue(AxisDescription axisDescription)
public static String getRequestAddressingRequirementParameterValue(MessageContext response)
public static String getInvocationPatternParameterValue(AxisOperation axisOperation)
axisOperation
- public static void setInvocationPatternParameterValue(AxisOperation axisOperation, String value)
axisOperation
- value
- public static void setAddressingRequirementParemeterValue(AxisDescription axisDescription, String value)
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.