public enum HttpHeader extends Enum<HttpHeader>
| Enum Constant and Description |
|---|
AUTHORIZATION
Authorization defined in RFC 7235 Section 4.2
|
CONTENT_ENCODING
Content-Encoding defined in RFC 7231 Section 3.1.2.2
|
DATE
Date defined in RFC 7231 Section 7.1.1.2
|
USER_AGENT
User-Agent defined in RFC 7231 Section 5.5.3
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader() |
static HttpHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpHeader AUTHORIZATION
public static final HttpHeader CONTENT_ENCODING
public static final HttpHeader DATE
public static final HttpHeader USER_AGENT
private final String header
public static HttpHeader[] values()
for (HttpHeader c : HttpHeader.values()) System.out.println(c);
public static HttpHeader valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getHeader()
Copyright © 2023 Apache NiFi Project. All rights reserved.