case class CSPNonceConfig(enabled: Boolean = true, pattern: String = ..., header: Boolean = true) extends Product with Serializable
CSP Nonce Configuration.
- enabled
if true, a nonce is generated in processing
- pattern
the pattern in directives to substitute with nonce, DEFAULT_CSP_NONCE_PATTERN by default.
- header
if true, renders HeaderNames.X_CONTENT_SECURITY_POLICY_NONCE_HEADER
- Source
- CSPConfig.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CSPNonceConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
CSPNonceConfig()
Java constructor
-
new
CSPNonceConfig(enabled: Boolean = true, pattern: String = ..., header: Boolean = true)
- enabled
if true, a nonce is generated in processing
- pattern
the pattern in directives to substitute with nonce, DEFAULT_CSP_NONCE_PATTERN by default.
- header
if true, renders HeaderNames.X_CONTENT_SECURITY_POLICY_NONCE_HEADER
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val enabled: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val header: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pattern: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withEnabled(enabled: Boolean): CSPNonceConfig
- def withHeader(header: Boolean): CSPNonceConfig
- def withPattern(pattern: String): CSPNonceConfig