Package io.dropwizard.web.conf
Class XssProtectionHeaderFactory
- java.lang.Object
-
- io.dropwizard.web.conf.HeaderFactory
-
- io.dropwizard.web.conf.XssProtectionHeaderFactory
-
public class XssProtectionHeaderFactory extends HeaderFactory
-
-
Constructor Summary
Constructors Constructor Description XssProtectionHeaderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>buildHeaders()booleanisBlock()booleanisOn()voidsetBlock(boolean block)voidsetOn(boolean on)-
Methods inherited from class io.dropwizard.web.conf.HeaderFactory
build, isEnabled, setEnabled
-
-
-
-
Method Detail
-
isOn
public boolean isOn()
-
setOn
public void setOn(boolean on)
-
isBlock
public boolean isBlock()
-
setBlock
public void setBlock(boolean block)
-
buildHeaders
protected Map<String,String> buildHeaders()
- Specified by:
buildHeadersin classHeaderFactory
-
-