public enum DeliveryMethod extends Enum<DeliveryMethod>
Enum Constant and Description |
---|
ATOMIC_REST
This will
send each message using one
multipart HTTP-request containing all documents and their metadata. |
STEPWISE_REST
This will deliver messages using a stepwise
variant of the REST-API, using several HTTP requests to build the message,
and ultimately
send it. |
Modifier and Type | Method and Description |
---|---|
static DeliveryMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryMethod STEPWISE_REST
send
it.public static final DeliveryMethod ATOMIC_REST
send
each message using one
multipart HTTP-request containing all documents and their metadata.
For now this is an experimental feature, and not supported.public static DeliveryMethod[] values()
for (DeliveryMethod c : DeliveryMethod.values()) System.out.println(c);
public static DeliveryMethod 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 © 2014 Digipost Open Source. All rights reserved.