object CSPConfig extends Serializable

This singleton object contains factory methods to create a CSPConfig instance from configuration.

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

Value Members

  1. def fromConfiguration(conf: Configuration): CSPConfig

    Creates CSPConfig from a raw Configuration object, using "play.filters.csp".

    Creates CSPConfig from a raw Configuration object, using "play.filters.csp".

    conf

    a configuration instance.

    returns

    a CSPConfig instance.

  2. def fromUnprefixedConfiguration(config: Configuration): CSPConfig

    Creates CSPConfig from a raw configuration object with no prefix.

    Creates CSPConfig from a raw configuration object with no prefix.

    config

    a configuration instance

    returns

    a CSPConfig instance.