Class ClearSiteDataServerHttpHeadersWriter

    • Field Detail

      • CLEAR_SITE_DATA_HEADER

        public static final java.lang.String CLEAR_SITE_DATA_HEADER
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClearSiteDataServerHttpHeadersWriter

        public ClearSiteDataServerHttpHeadersWriter​(ClearSiteDataServerHttpHeadersWriter.Directive... directives)

        Constructs a new instance using the given directives.

        Parameters:
        directives - directives that will be written as the header value
        Throws:
        java.lang.IllegalArgumentException - if the argument is null or empty
    • Method Detail

      • writeHttpHeaders

        public reactor.core.publisher.Mono<java.lang.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).