public static class SecurityProperties.Headers extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SecurityProperties.Headers.ContentSecurityPolicyMode |
static class |
SecurityProperties.Headers.HSTS |
Constructor and Description |
---|
Headers() |
Modifier and Type | Method and Description |
---|---|
String |
getContentSecurityPolicy() |
SecurityProperties.Headers.ContentSecurityPolicyMode |
getContentSecurityPolicyMode() |
SecurityProperties.Headers.HSTS |
getHsts() |
boolean |
isCache() |
boolean |
isContentType() |
boolean |
isFrame() |
boolean |
isXss() |
void |
setCache(boolean cache) |
void |
setContentSecurityPolicy(String contentSecurityPolicy) |
void |
setContentSecurityPolicyMode(SecurityProperties.Headers.ContentSecurityPolicyMode contentSecurityPolicyMode) |
void |
setContentType(boolean contentType) |
void |
setFrame(boolean frame) |
void |
setHsts(SecurityProperties.Headers.HSTS hsts) |
void |
setXss(boolean xss) |
public boolean isXss()
public void setXss(boolean xss)
public boolean isCache()
public void setCache(boolean cache)
public boolean isFrame()
public void setFrame(boolean frame)
public boolean isContentType()
public void setContentType(boolean contentType)
public String getContentSecurityPolicy()
public void setContentSecurityPolicy(String contentSecurityPolicy)
public SecurityProperties.Headers.ContentSecurityPolicyMode getContentSecurityPolicyMode()
public void setContentSecurityPolicyMode(SecurityProperties.Headers.ContentSecurityPolicyMode contentSecurityPolicyMode)
public SecurityProperties.Headers.HSTS getHsts()
public void setHsts(SecurityProperties.Headers.HSTS hsts)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.