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
Ordering
- Alphabetic
- By Inheritance
Inherited
- SecurityHeadersFilter
- EssentialFilter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SecurityHeadersFilter(config: SecurityHeadersConfig)
- Annotations
- @Inject()
Value Members
-
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
- SecurityHeadersFilter → EssentialFilter
-
def
asJava: EssentialFilter
- Definition Classes
- EssentialFilter