ServerXssProtectionDsl

A Kotlin DSL to configure the ServerHttpSecurity XSS protection header using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.4

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var headerValue: XXssProtectionServerHttpHeadersWriter.HeaderValue?

the value of the X-XSS-Protection header. OWASP recommends HeaderValue.DISABLED.

Functions

Link copied to clipboard
fun disable()

Disables cache control response headers