ServerHttpStrictTransportSecurityDsl

A Kotlin DSL to configure the ServerHttpSecurity HTTP Strict Transport Security header using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.4

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

if true, subdomains should be considered HSTS Hosts too.

Link copied to clipboard

he value for the max-age directive of the Strict-Transport-Security header.

Link copied to clipboard

if true, preload will be included in HSTS Header.

Functions

Link copied to clipboard
fun disable()

Disables the X-Frame-Options response header