Class ClearSiteDataServerHttpHeadersWriter

java.lang.Object
org.springframework.security.web.server.header.ClearSiteDataServerHttpHeadersWriter
All Implemented Interfaces:
ServerHttpHeadersWriter

public final class ClearSiteDataServerHttpHeadersWriter extends Object implements ServerHttpHeadersWriter

Writes the Clear-Site-Data response header when the request is secure.

For further details pleaes consult W3C Documentation.

Since:
5.2
  • Field Details

  • Constructor Details

  • Method Details

    • writeHttpHeaders

      public reactor.core.publisher.Mono<Void> writeHttpHeaders(org.springframework.web.server.ServerWebExchange exchange)
      Description copied from interface: ServerHttpHeadersWriter
      Write the headers to the response.
      Specified by:
      writeHttpHeaders in interface ServerHttpHeadersWriter
      Returns:
      A Mono which is returned to the Supplier of the ReactiveHttpOutputMessage.beforeCommit(Supplier).