ServerFrameOptionsDsl

A Kotlin DSL to configure the ServerHttpSecurity X-Frame-Options header using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.4

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var mode: XFrameOptionsServerHttpHeadersWriter.Mode?

the X-Frame-Options mode to set in the response header.

Functions

Link copied to clipboard
fun disable()

Disables the X-Frame-Options response header