@ApplicationScoped @Named(value="httpSettings") public class HTTPSettings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AJAX_AREA_PREFFIX |
Constructor and Description |
---|
HTTPSettings() |
Modifier and Type | Method and Description |
---|---|
String |
getDownloadDir() |
String |
getEncoding() |
int |
getMaxPostSize() |
String |
getXFrameOptions() |
boolean |
isMultipartProcessing() |
boolean |
isXSSProtectionBlock() |
boolean |
isXSSProtectionEnabled() |
static HTTPSettings |
lookup() |
void |
setDownloadDir(String downloadDir) |
void |
setEncoding(String encoding) |
void |
setMaxPostSize(int maxPostSize) |
void |
setMultipartProcessing(boolean multipartProcessing) |
void |
setXFrameOptions(String XFrameOptions) |
void |
setXSSProtectionBlock(boolean XSSProtectionBlock) |
void |
setXSSProtectionEnabled(boolean XSSProtectionEnabled) |
public static final String AJAX_AREA_PREFFIX
public static HTTPSettings lookup()
public String getDownloadDir()
public void setDownloadDir(String downloadDir)
public int getMaxPostSize()
public void setMaxPostSize(int maxPostSize)
public boolean isMultipartProcessing()
public void setMultipartProcessing(boolean multipartProcessing)
public String getEncoding()
public void setEncoding(String encoding)
public boolean isXSSProtectionEnabled()
public void setXSSProtectionEnabled(boolean XSSProtectionEnabled)
public boolean isXSSProtectionBlock()
public void setXSSProtectionBlock(boolean XSSProtectionBlock)
public String getXFrameOptions()
public void setXFrameOptions(String XFrameOptions)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.