Enum Attribute

    • Enum Constant Detail

      • UNKNOWN

        public static final Attribute UNKNOWN
      • ALLOW_CREDENTIALS

        public static final Attribute ALLOW_CREDENTIALS
      • COMPRESSION_LEVEL

        public static final Attribute COMPRESSION_LEVEL
      • CONTEXT_PATH

        public static final Attribute CONTEXT_PATH
      • EXTENDED_HEADERS

        public static final Attribute EXTENDED_HEADERS
      • HOST_NAME

        public static final Attribute HOST_NAME
      • MAX_AGE_SECONDS

        public static final Attribute MAX_AGE_SECONDS
      • MAX_CONTENT_LENGTH

        public static final Attribute MAX_CONTENT_LENGTH
      • MECHANISMS

        public static final Attribute MECHANISMS
      • REQUIRE_SSL_CLIENT_AUTH

        public static final Attribute REQUIRE_SSL_CLIENT_AUTH
      • SECURITY_REALM

        public static final Attribute SECURITY_REALM
      • SERVER_PRINCIPAL

        public static final Attribute SERVER_PRINCIPAL
      • SOCKET_BINDING

        public static final Attribute SOCKET_BINDING
      • ALLOWED_HEADERS

        public static final Attribute ALLOWED_HEADERS
      • ALLOWED_ORIGINS

        public static final Attribute ALLOWED_ORIGINS
      • ALLOWED_METHODS

        public static final Attribute ALLOWED_METHODS
      • EXPOSE_HEADERS

        public static final Attribute EXPOSE_HEADERS
    • Method Detail

      • values

        public static Attribute[] 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 (Attribute c : Attribute.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Attribute 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