public enum StroomStatusCode extends java.lang.Enum<StroomStatusCode>
| Enum Constant and Description |
|---|
CLIENT_CERTIFICATE_NOT_AUTHORISED |
CLIENT_CERTIFICATE_REQUIRED |
COMPRESSED_STREAM_INVALID |
FEED_IS_NOT_DEFINED |
FEED_IS_NOT_SET_TO_RECEIVED_DATA |
FEED_MUST_BE_SPECIFIED |
OK |
UNKNOWN_COMPRESSION |
UNKNOWN_ERROR |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
int |
getHttpCode() |
java.lang.String |
getMessage() |
java.lang.String |
getReason() |
static StroomStatusCode |
getStroomStatusCode(int code) |
static void |
main(java.lang.String[] args) |
java.lang.String |
toString() |
static StroomStatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StroomStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StroomStatusCode OK
public static final StroomStatusCode FEED_MUST_BE_SPECIFIED
public static final StroomStatusCode FEED_IS_NOT_DEFINED
public static final StroomStatusCode FEED_IS_NOT_SET_TO_RECEIVED_DATA
public static final StroomStatusCode UNKNOWN_COMPRESSION
public static final StroomStatusCode CLIENT_CERTIFICATE_REQUIRED
public static final StroomStatusCode CLIENT_CERTIFICATE_NOT_AUTHORISED
public static final StroomStatusCode COMPRESSED_STREAM_INVALID
public static final StroomStatusCode UNKNOWN_ERROR
public static StroomStatusCode[] values()
for (StroomStatusCode c : StroomStatusCode.values()) System.out.println(c);
public static StroomStatusCode 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 nullpublic static StroomStatusCode getStroomStatusCode(int code)
public int getHttpCode()
public int getCode()
public java.lang.String getMessage()
public java.lang.String getReason()
public java.lang.String toString()
toString in class java.lang.Enum<StroomStatusCode>public static void main(java.lang.String[] args)