Enum Class HttpHeader

java.lang.Object
java.lang.Enum<HttpHeader>
org.apache.nifi.processors.standard.http.HttpHeader
All Implemented Interfaces:
Serializable, Comparable<HttpHeader>, Constable

public enum HttpHeader extends Enum<HttpHeader>
HTTP Header reusable enumerated values
  • Enum Constant Details

    • AUTHORIZATION

      public static final HttpHeader AUTHORIZATION
      Authorization defined in RFC 7235 Section 4.2
    • CONTENT_ENCODING

      public static final HttpHeader CONTENT_ENCODING
      Content-Encoding defined in RFC 7231 Section 3.1.2.2
    • DATE

      public static final HttpHeader DATE
      Date defined in RFC 7231 Section 7.1.1.2
    • USER_AGENT

      public static final HttpHeader USER_AGENT
      User-Agent defined in RFC 7231 Section 5.5.3
  • Field Details

  • Constructor Details

    • HttpHeader

      private HttpHeader(String header)
  • Method Details

    • values

      public static HttpHeader[] 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 HttpHeader 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
    • getHeader

      public String getHeader()