Enum Class Header

java.lang.Object
java.lang.Enum<Header>
io.mangoo.enums.Header
All Implemented Interfaces:
Serializable, Comparable<Header>, Constable

public enum Header extends Enum<Header>
Custom headers which are not part of undertow
Author:
svenkubiak
  • Enum Constant Details

    • 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
    • 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_PROTECTION

      public static final Header X_XSS_PROTECTION
  • Method Details

    • values

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

      public io.undertow.util.HttpString toHttpString()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Header>