public static enum AddressDefinition.Type extends Enum<AddressDefinition.Type>
Enum Constant and Description |
---|
DEFAULT
Deliver the message into the target destination defined in the message probably via addressing which can be
retrieved by
Message.getDestinationURL() |
ECHO
Delivers the response back by injecting the response back to the proxy service.
|
PREFIX
Delivers the message to the constructed URL from the prefix of this type of an address, suffixed by
the requests path, again widely used in HTTP only
|
RESPONSE
Delivers the response back, used in 2way transports such as HTTP to send back a response to a request
over the back channel
|
URL
Delivers the message into the specified absolute URL
|
Modifier and Type | Method and Description |
---|---|
static AddressDefinition.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressDefinition.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressDefinition.Type DEFAULT
Message.getDestinationURL()
public static final AddressDefinition.Type RESPONSE
public static final AddressDefinition.Type URL
public static final AddressDefinition.Type PREFIX
public static final AddressDefinition.Type ECHO
public static AddressDefinition.Type[] values()
for (AddressDefinition.Type c : AddressDefinition.Type.values()) System.out.println(c);
public static AddressDefinition.Type 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 nullCopyright © 2010–2016 AdroitLogic. All rights reserved.