@Generated(value="org.jsonschema2pojo") public class ContentSecurityPolicyBean extends Object
A sophisticated mechanism to precisely define the types and sources of content that may be loaded, with violation reporting and the ability to restrict the availability and scope of many security-sensitive features.
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentSecurityPolicyBean.Mode |
| Constructor and Description |
|---|
ContentSecurityPolicyBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getCsp()
Content Security Policy Definition
|
ContentSecurityPolicyBean.Mode |
getMode()
CSP Mode
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCsp(String csp)
Content Security Policy Definition
|
void |
setMode(ContentSecurityPolicyBean.Mode mode)
CSP Mode
|
String |
toString() |
public ContentSecurityPolicyBean.Mode getMode()
public void setMode(ContentSecurityPolicyBean.Mode mode)
mode - The modepublic String getCsp()
Valid CSP definition must be provided.
public void setCsp(String csp)
Valid CSP definition must be provided.
csp - The cspCopyright © 2014–2016 JBoss, a division of Red Hat. All rights reserved.