public class XFrameOptionsServerHttpHeadersWriter extends java.lang.Object implements ServerHttpHeadersWriter
Modifier and Type | Class and Description |
---|---|
static class |
XFrameOptionsServerHttpHeadersWriter.Mode
The X-Frame-Options values.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
X_FRAME_OPTIONS |
Constructor and Description |
---|
XFrameOptionsServerHttpHeadersWriter() |
Modifier and Type | Method and Description |
---|---|
void |
setMode(XFrameOptionsServerHttpHeadersWriter.Mode mode)
Sets the X-Frame-Options mode.
|
reactor.core.publisher.Mono<java.lang.Void> |
writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
Write the headers to the response.
|
public static final java.lang.String X_FRAME_OPTIONS
public XFrameOptionsServerHttpHeadersWriter()
public reactor.core.publisher.Mono<java.lang.Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
ServerHttpHeadersWriter
writeHttpHeaders
in interface ServerHttpHeadersWriter
Supplier
of the
ReactiveHttpOutputMessage.beforeCommit(Supplier)
.public void setMode(XFrameOptionsServerHttpHeadersWriter.Mode mode)
mode
-