Packages

class SecurityHeadersFilter extends EssentialFilter

The case class that implements the filter. This gives you the most control, but you may want to use the apply() method on the companion singleton for convenience.

Annotations
@Singleton()
Source
SecurityHeadersFilter.scala
Linear Supertypes
EssentialFilter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SecurityHeadersFilter
  2. EssentialFilter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SecurityHeadersFilter(config: SecurityHeadersConfig)
    Annotations
    @Inject()

Value Members

  1. def apply(next: EssentialAction): EssentialAction

    Applies the filter to an action, appending the headers to the result so it shows in the HTTP response.

    Applies the filter to an action, appending the headers to the result so it shows in the HTTP response.

    Definition Classes
    SecurityHeadersFilterEssentialFilter
  2. def asJava: EssentialFilter
    Definition Classes
    EssentialFilter