Class StaticServerHttpHeadersWriter
java.lang.Object
org.springframework.security.web.server.header.StaticServerHttpHeadersWriter
- All Implemented Interfaces:
 ServerHttpHeadersWriter
Allows specifying 
HttpHeaders that should be written to the response.- Since:
 - 5.0
 
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
ConstructorsConstructorDescriptionStaticServerHttpHeadersWriter(org.springframework.http.HttpHeaders headersToAdd)  - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()reactor.core.publisher.Mono<Void>writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange) Write the headers to the response. 
- 
Constructor Details
- 
StaticServerHttpHeadersWriter
public StaticServerHttpHeadersWriter(org.springframework.http.HttpHeaders headersToAdd)  
 - 
 - 
Method Details
- 
writeHttpHeaders
public reactor.core.publisher.Mono<Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange) Description copied from interface:ServerHttpHeadersWriterWrite the headers to the response.- Specified by:
 writeHttpHeadersin interfaceServerHttpHeadersWriter- Returns:
 - A Mono which is returned to the 
Supplierof theReactiveHttpOutputMessage.beforeCommit(Supplier). 
 - 
builder
 
 -