java.lang.Object
java.lang.Enum<Param.Role>
org.eclipse.jetty.websocket.jsr356.annotations.Param.Role
All Implemented Interfaces:
Serializable, Comparable<Param.Role>
Enclosing class:
Param

public static enum Param.Role extends Enum<Param.Role>
The various roles of the known parameters.
  • Enum Constant Details

    • SESSION

      public static final Param.Role SESSION
    • ENDPOINT_CONFIG

      public static final Param.Role ENDPOINT_CONFIG
    • CLOSE_REASON

      public static final Param.Role CLOSE_REASON
    • ERROR_CAUSE

      public static final Param.Role ERROR_CAUSE
    • MESSAGE_TEXT

      public static final Param.Role MESSAGE_TEXT
    • MESSAGE_TEXT_STREAM

      public static final Param.Role MESSAGE_TEXT_STREAM
    • MESSAGE_BINARY

      public static final Param.Role MESSAGE_BINARY
    • MESSAGE_BINARY_STREAM

      public static final Param.Role MESSAGE_BINARY_STREAM
    • MESSAGE_PONG

      public static final Param.Role MESSAGE_PONG
    • MESSAGE_PARTIAL_FLAG

      public static final Param.Role MESSAGE_PARTIAL_FLAG
    • PATH_PARAM

      public static final Param.Role PATH_PARAM
  • Field Details

    • messageRoles

      private static Param.Role[] messageRoles
  • Constructor Details

    • Role

      private Role()
  • Method Details

    • values

      public static Param.Role[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Param.Role valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getMessageRoles

      public static Param.Role[] getMessageRoles()