| Package | Description |
|---|---|
| com.helger.http.csp |
| Modifier and Type | Method and Description |
|---|---|
static CSP2Directive |
CSP2Directive.createChildSrc(CSP2SourceList aValue)
Defines valid sources for web workers and nested browsing contexts loaded
using elements such as <frame> and <iframe>
|
static CSP2Directive |
CSP2Directive.createConnectSrc(CSP2SourceList aValue)
Applies to XMLHttpRequest (AJAX), WebSocket or EventSource.
|
static CSP2Directive |
CSP2Directive.createDefaultSrc(CSP2SourceList aValue)
The default-src is the default policy for loading content such as JavaScript,
Images, CSS, Fonts, AJAX requests, Frames, HTML5 Media.
|
static CSP2Directive |
CSP2Directive.createFontSrc(CSP2SourceList aValue)
Defines valid sources of fonts.
|
static CSP2Directive |
CSP2Directive.createFormAction(CSP2SourceList aValue)
Defines valid sources that can be used as a HTML <form> action.
|
static CSP2Directive |
CSP2Directive.createFrameAncestors(CSP2SourceList aValue)
Defines valid sources for embedding the resource using <frame>
<iframe> <object> <embed> <applet>.
|
static CSP2Directive |
CSP2Directive.createFrameSrc(CSP2SourceList aValue)
Deprecated.
|
static CSP2Directive |
CSP2Directive.createImgSrc(CSP2SourceList aValue)
Defines valid sources of images.
|
static CSP2Directive |
CSP2Directive.createMediaSrc(CSP2SourceList aValue)
Defines valid sources of audio and video, eg HTML5 <audio>,
<video> elements.
|
static CSP2Directive |
CSP2Directive.createObjectSrc(CSP2SourceList aValue)
Defines valid sources of plugins, eg <object>, <embed> or
<applet>.
|
static CSP2Directive |
CSP2Directive.createPluginTypes(CSP2SourceList aValue)
Defines valid MIME types for plugins invoked via <object> and
<embed>.
|
static CSP2Directive |
CSP2Directive.createReportURI(String sValue)
The report-uri directive specifies a URI to which the user agent sends
reports about policy violation.
|
static CSP2Directive |
CSP2Directive.createSandbox(String sValue)
The sandbox directive specifies an HTML sandbox policy that the user agent
applies to the protected resource.
|
static CSP2Directive |
CSP2Directive.createScriptSrc(CSP2SourceList aValue)
Defines valid sources of JavaScript.
|
static CSP2Directive |
CSP2Directive.createStyleSrc(CSP2SourceList aValue)
Defines valid sources of stylesheets.
|
Copyright © 2016–2019 Philip Helger. All rights reserved.