c

play.filters.csp

CSPHashConfig

case class CSPHashConfig(algorithm: String, hash: String, pattern: String) extends Product with Serializable

CSP Hash Configuration.

algorithm

the algorithm from https://www.w3.org/TR/CSP3/#grammardef-hash-algorithm

hash

set to the hash value in configuration

pattern

the pattern in directives to substitute with hash.

Source
CSPConfig.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSPHashConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CSPHashConfig(algorithm: String, hash: String, pattern: String)

    algorithm

    the algorithm from https://www.w3.org/TR/CSP3/#grammardef-hash-algorithm

    hash

    set to the hash value in configuration

    pattern

    the pattern in directives to substitute with hash.

Value Members

  1. val algorithm: String
  2. val hash: String
  3. val pattern: String
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. def withAlgorithm(algorithm: String): CSPHashConfig
  6. def withHash(hash: String): CSPHashConfig
  7. def withPattern(pattern: String): CSPHashConfig