public enum BrowserSecurityHeaders extends Enum<BrowserSecurityHeaders>
Enum Constant and Description |
---|
CONTENT_SECURITY_POLICY |
CONTENT_SECURITY_POLICY_REPORT_ONLY |
REFERRER_POLICY |
STRICT_TRANSPORT_SECURITY |
X_CONTENT_TYPE_OPTIONS |
X_FRAME_OPTIONS |
X_ROBOTS_TAG |
X_XSS_PROTECTION |
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
realmDefaultHeaders
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue() |
String |
getHeaderName() |
String |
getKey() |
static BrowserSecurityHeaders |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrowserSecurityHeaders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserSecurityHeaders X_FRAME_OPTIONS
public static final BrowserSecurityHeaders CONTENT_SECURITY_POLICY
public static final BrowserSecurityHeaders CONTENT_SECURITY_POLICY_REPORT_ONLY
public static final BrowserSecurityHeaders X_CONTENT_TYPE_OPTIONS
public static final BrowserSecurityHeaders X_ROBOTS_TAG
public static final BrowserSecurityHeaders X_XSS_PROTECTION
public static final BrowserSecurityHeaders STRICT_TRANSPORT_SECURITY
public static final BrowserSecurityHeaders REFERRER_POLICY
@Deprecated public static final Map<String,String> realmDefaultHeaders
public static BrowserSecurityHeaders[] values()
for (BrowserSecurityHeaders c : BrowserSecurityHeaders.values()) System.out.println(c);
public static BrowserSecurityHeaders 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 getKey()
public String getHeaderName()
public String getDefaultValue()
Copyright © 2021 JBoss by Red Hat. All rights reserved.