public static enum ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy extends java.lang.Enum<ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy>
Enum Constant and Description |
---|
NO_REFERRER |
NO_REFERRER_WHEN_DOWNGRADE |
ORIGIN |
ORIGIN_WHEN_CROSS_ORIGIN |
SAME_ORIGIN |
STRICT_ORIGIN |
STRICT_ORIGIN_WHEN_CROSS_ORIGIN |
UNSAFE_URL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPolicy() |
static ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy NO_REFERRER
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy NO_REFERRER_WHEN_DOWNGRADE
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy SAME_ORIGIN
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy ORIGIN
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy STRICT_ORIGIN
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy ORIGIN_WHEN_CROSS_ORIGIN
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy STRICT_ORIGIN_WHEN_CROSS_ORIGIN
public static final ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy UNSAFE_URL
public static ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy[] values()
for (ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy c : ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy.values()) System.out.println(c);
public static ReferrerPolicyServerHttpHeadersWriter.ReferrerPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPolicy()