public class ServerHttpSecurity.HeaderSpec.FrameOptionsSpec
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ServerHttpSecurity.HeaderSpec |
disable()
Disables frame options response header
|
ServerHttpSecurity.HeaderSpec |
mode(XFrameOptionsServerHttpHeadersWriter.Mode mode)
The mode to configure.
|
public ServerHttpSecurity.HeaderSpec mode(XFrameOptionsServerHttpHeadersWriter.Mode mode)
XFrameOptionsServerHttpHeadersWriter.Mode.DENY
mode
- the mode to useServerHttpSecurity.HeaderSpec
to configurepublic ServerHttpSecurity.HeaderSpec disable()
ServerHttpSecurity.HeaderSpec
to continue configuring