Class HeadersConfigurer.XXssConfig

    • Method Detail

      • block

        public HeadersConfigurer.XXssConfig block​(boolean enabled)
        If false, will not specify the mode as blocked. In this instance, any content will be attempted to be fixed. If true, the content will be replaced with "#".
        Parameters:
        enabled - the new value
      • and

        public HeadersConfigurer<H> and()
        Allows completing configuration of X-XSS-Protection and continuing configuration of headers.
        Returns:
        the HeadersConfigurer for additional configuration