Enum Param.Role

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Param.Role>
    Enclosing class:
    Param

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

      • 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
    • Method Detail

      • values

        public static Param.Role[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Param.Role c : Param.Role.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Param.Role valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getMessageRoles

        public static Param.Role[] getMessageRoles()