Package org.jivesoftware.openfire.http
Enum Class BoshBindingError.Type
- All Implemented Interfaces:
Serializable
,Comparable<BoshBindingError.Type>
,Constable
- Enclosing class:
- BoshBindingError
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIn 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.The terminate error condition prevents the client from making any further requests until a new session is established. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the type that will be displayed to the client.static BoshBindingError.Type
Returns the enum constant of this class with the specified name.static BoshBindingError.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
terminate
The terminate error condition prevents the client from making any further requests until a new session is established. -
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. The content of these requests MUST be identical to the <body> elements of the original requests. This allows the connection manager to recover a session after the previous request was lost due to a communication failure.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
Returns the type that will be displayed to the client.- Returns:
- the type that will be displayed to the client.
-