public enum CxfPayloadToArguments extends Enum<CxfPayloadToArguments>
CxfOutboundMessageProcessor#doSendWithClient(org.mule.runtime.core.api.MuleEvent) and in
CxfOutboundMessageProcessor#doSendWithProxy(org.mule.runtime.core.api.MuleEvent).| Enum Constant and Description |
|---|
NULL_PAYLOAD_AS_PARAMETER
In this strategy, if the payload is {code null} it will be sent as a parameter just like any other object.
|
NULL_PAYLOAD_AS_VOID
In this strategy, if the payload is
null it will not be send as a parameter. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPayloadToArgumentsParameterValue() |
Object[] |
payloadToArrayOfArguments(Object payload)
This method is the one that converts the payload in an array of arguments.
|
static CxfPayloadToArguments |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CxfPayloadToArguments[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CxfPayloadToArguments NULL_PAYLOAD_AS_PARAMETER
public static final CxfPayloadToArguments NULL_PAYLOAD_AS_VOID
null it will not be send as a parameter. The array of arguments in this case will
be empty. For the rest of the objects it behaves just like NULL_PAYLOAD_AS_PARAMETER (it will delegate to
payloadToArrayOfArguments(Object)).public static CxfPayloadToArguments[] values()
for (CxfPayloadToArguments c : CxfPayloadToArguments.values()) System.out.println(c);
public static CxfPayloadToArguments valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Object[] payloadToArrayOfArguments(Object payload)
objects that array will be returned. Otherwise, an array with one element, the payload,
will be returned.payload - the payload to convert to array of arguments.public String getPayloadToArgumentsParameterValue()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.