public class XFrameOptionsHttpHeadersWriter extends java.lang.Object implements HttpHeadersWriter
Modifier and Type | Class and Description |
---|---|
static class |
XFrameOptionsHttpHeadersWriter.Mode
The X-Frame-Options values.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
X_FRAME_OPTIONS |
Constructor and Description |
---|
XFrameOptionsHttpHeadersWriter() |
Modifier and Type | Method and Description |
---|---|
void |
setMode(XFrameOptionsHttpHeadersWriter.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 reactor.core.publisher.Mono<java.lang.Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
HttpHeadersWriter
writeHttpHeaders
in interface HttpHeadersWriter
Supplier
of the
ReactiveHttpOutputMessage.beforeCommit(Supplier)
.public void setMode(XFrameOptionsHttpHeadersWriter.Mode mode)
mode
-