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