Enum Header

    • Enum Constant Detail

      • ACCEPT_LANGUAGE

        public static final Header ACCEPT_LANGUAGE
      • CONTENT_DISPOSITION

        public static final Header CONTENT_DISPOSITION
      • CONTENT_SECURITY_POLICY

        public static final Header CONTENT_SECURITY_POLICY
      • CONTENT_TYPE

        public static final Header CONTENT_TYPE
      • COOKIE

        public static final Header COOKIE
      • FEATURE_POLICY

        public static final Header FEATURE_POLICY
      • LOCATION

        public static final Header LOCATION
      • REFERER_POLICY

        public static final Header REFERER_POLICY
      • SERVER

        public static final Header SERVER
      • X_CONTENT_TYPE_OPTIONS

        public static final Header X_CONTENT_TYPE_OPTIONS
      • X_FORWARDED_FOR

        public static final Header X_FORWARDED_FOR
      • X_FRAME_OPTIONS

        public static final Header X_FRAME_OPTIONS
      • X_XSS_PPROTECTION

        public static final Header X_XSS_PPROTECTION
    • Method Detail

      • values

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

        public static Header 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
      • toHttpString

        public io.undertow.util.HttpString toHttpString()