Class HeadersConfigurer.ContentTypeOptionsConfig
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configurers.HeadersConfigurer.ContentTypeOptionsConfig
-
- Enclosing class:
- HeadersConfigurer<H extends HttpSecurityBuilder<H>>
public final class HeadersConfigurer.ContentTypeOptionsConfig extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadersConfigurer<H>and()Allows customizing theHeadersConfigurerHeadersConfigurer<H>disable()Removes the X-XSS-Protection header.
-
-
-
Method Detail
-
disable
public HeadersConfigurer<H> disable()
Removes the X-XSS-Protection header.- Returns:
HeadersConfigurerfor additional customization.
-
and
public HeadersConfigurer<H> and()
Allows customizing theHeadersConfigurer- Returns:
- the
HeadersConfigurerfor additional customization
-
-