Class ServerHttpSecurity.HeaderSpec.XssProtectionSpec
- java.lang.Object
-
- org.springframework.security.config.web.server.ServerHttpSecurity.HeaderSpec.XssProtectionSpec
-
- Enclosing class:
- ServerHttpSecurity.HeaderSpec
public final class ServerHttpSecurity.HeaderSpec.XssProtectionSpec extends java.lang.Object
Configures x-xss-protection response header
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerHttpSecurity.HeaderSpec
disable()
Disables the x-xss-protection response header
-
-
-
Method Detail
-
disable
public ServerHttpSecurity.HeaderSpec disable()
Disables the x-xss-protection response header- Returns:
- the
ServerHttpSecurity.HeaderSpec
to continue configuring
-
-