public enum DSProtocol extends java.lang.Enum<DSProtocol> implements ValueEnum
| Enum Constant and Description |
|---|
GETPARAMS |
POSTMESSAGE
DSRequest.data is assumed
to be a String set up by DataSource.transformRequest() and is POSTed as the HTTP request body. |
POSTPARAMS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static DSProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DSProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DSProtocol GETPARAMS
public static final DSProtocol POSTPARAMS
public static final DSProtocol POSTMESSAGE
DSRequest.data is assumed
to be a String set up by DataSource.transformRequest() and is POSTed as the HTTP request body.public static DSProtocol[] values()
for (DSProtocol c : DSProtocol.values()) System.out.println(c);
public static DSProtocol valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null