trait CSPProcessor extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- CSPProcessor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def process(requestHeader: RequestHeader): Option[CSPResult]
Inspects the request header, and returns a CSPResult if the request should be subject to CSP processing.
Inspects the request header, and returns a CSPResult if the request should be subject to CSP processing.
If the request header has a CSP Nonce already defined, then the processor will carry the existing nonce through in the result, otherwise a new nonce will be generated.
- requestHeader
a request header
- returns
Some(CSPResult) if the processor is enabled for this request, otherwise None
This trait processes a request header for CSP related logic.