public static enum BoshBindingError.Type extends Enum<BoshBindingError.Type>
Enum Constant and Description |
---|
recoverable
In the case of a recoverable binding error the client MUST repeat the HTTP request and
all the preceding HTTP requests that have not received responses.
|
terminate
The terminate error condition prevents the client from making any further requests until a
new session is established.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
Returns the type that will be displayed to the client.
|
static BoshBindingError.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoshBindingError.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoshBindingError.Type terminate
public static final BoshBindingError.Type recoverable
public static BoshBindingError.Type[] values()
for (BoshBindingError.Type c : BoshBindingError.Type.values()) System.out.println(c);
public static BoshBindingError.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 nullpublic String getType()
Copyright © 2003-2008 Jive Software.