public enum ApiFlavor extends Enum<ApiFlavor>
| 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 ApiFlavor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiFlavor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiFlavor STEPWISE_REST
send it.public static ApiFlavor[] values()
for (ApiFlavor c : ApiFlavor.values()) System.out.println(c);
public static ApiFlavor 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 © 2015 Digipost Open Source. All rights reserved.