public enum SecurityHeader extends Enum<SecurityHeader>
| Enum Constant and Description |
|---|
AUTHORIZATION
Authorization Header described in RFC 7235 Section 4.2
|
REQUEST_TOKEN
Custom Request Token Header for CSRF mitigation
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader() |
static SecurityHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityHeader REQUEST_TOKEN
public static final SecurityHeader AUTHORIZATION
private String header
public static SecurityHeader[] values()
for (SecurityHeader c : SecurityHeader.values()) System.out.println(c);
public static SecurityHeader 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.