public enum SameSitePolicy extends Enum<SameSitePolicy>
| Enum Constant and Description |
|---|
NONE
Instructs browsers to send cookies for both first-party and cross-site requests
|
STRICT
Instructs browsers to limit sending cookies to first-party-initiated requests
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPolicy() |
static SameSitePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SameSitePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SameSitePolicy STRICT
public static final SameSitePolicy NONE
private final String policy
public static SameSitePolicy[] values()
for (SameSitePolicy c : SameSitePolicy.values()) System.out.println(c);
public static SameSitePolicy 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 getPolicy()
Copyright © 2023 Apache NiFi Project. All rights reserved.