Enum Class BoshBindingError.Type

java.lang.Object
java.lang.Enum<BoshBindingError.Type>
org.jivesoftware.openfire.http.BoshBindingError.Type
All Implemented Interfaces:
Serializable, Comparable<BoshBindingError.Type>, Constable
Enclosing class:
BoshBindingError

public static enum BoshBindingError.Type extends Enum<BoshBindingError.Type>
  • Enum Constant Details

    • terminate

      public static final BoshBindingError.Type terminate
      The terminate error condition prevents the client from making any further requests until a new session is established.
    • recoverable

      public static final BoshBindingError.Type 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

      public static BoshBindingError.Type[] 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

      public static BoshBindingError.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getType

      public String getType()
      Returns the type that will be displayed to the client.
      Returns:
      the type that will be displayed to the client.