Enum Class WebSocketFrame.Kind

java.lang.Object
java.lang.Enum<WebSocketFrame.Kind>
io.inverno.mod.http.base.ws.WebSocketFrame.Kind
All Implemented Interfaces:
Serializable, Comparable<WebSocketFrame.Kind>, Constable
Enclosing interface:
WebSocketFrame

public static enum WebSocketFrame.Kind extends Enum<WebSocketFrame.Kind>

WebSocket frame type as defined by RFC 6455 Section 5.

Since:
1.5
Author:
Jeremy Kuhn
  • Enum Constant Details

  • Method Details

    • values

      public static WebSocketFrame.Kind[] 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 WebSocketFrame.Kind 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