public enum EHttpReferrerPolicy extends Enum<EHttpReferrerPolicy>
Enum Constant and Description |
---|
NO_REFERRER |
NO_REFERRER_WHEN_DOWNGRADE |
NONE |
ORIGIN |
ORIGIN_WHEN_CROSS_ORIGIN |
SAME_ORIGIN |
STRICT_ORIGIN |
STRICT_ORIGIN_WHEN_CROSS_ORIGIN |
UNSAFE_URL |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static EHttpReferrerPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EHttpReferrerPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EHttpReferrerPolicy NONE
public static final EHttpReferrerPolicy NO_REFERRER
public static final EHttpReferrerPolicy NO_REFERRER_WHEN_DOWNGRADE
public static final EHttpReferrerPolicy SAME_ORIGIN
public static final EHttpReferrerPolicy ORIGIN
public static final EHttpReferrerPolicy STRICT_ORIGIN
public static final EHttpReferrerPolicy ORIGIN_WHEN_CROSS_ORIGIN
public static final EHttpReferrerPolicy STRICT_ORIGIN_WHEN_CROSS_ORIGIN
public static final EHttpReferrerPolicy UNSAFE_URL
public static EHttpReferrerPolicy[] values()
for (EHttpReferrerPolicy c : EHttpReferrerPolicy.values()) System.out.println(c);
public static EHttpReferrerPolicy 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 nullCopyright © 2016–2020 Philip Helger. All rights reserved.