public class ContentSecurityPolicy extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SRC |
static String |
IMG_SRC |
static String |
SCRIPT_SRC |
static String |
STYLE_SRC |
Constructor and Description |
---|
ContentSecurityPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
addDirectives(String key,
String... values) |
Set<String> |
getDirectives(String key) |
boolean |
isEmpty() |
void |
putDirectives(String key,
Set<String> values) |
String |
toString() |
public static final String DEFAULT_SRC
public static final String STYLE_SRC
public static final String SCRIPT_SRC
public static final String IMG_SRC