public class WebappProperty extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
applicationPath |
static String |
DEFAULT_APP_PATH |
protected HeaderSecurityProperties |
headerSecurity |
static String |
PREFIX |
Constructor and Description |
---|
WebappProperty() |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationPath() |
CsrfProperties |
getCsrf() |
HeaderSecurityProperties |
getHeaderSecurity() |
String |
getSecurityConfigFile() |
String |
getWebjarClasspath() |
boolean |
isIndexRedirectEnabled() |
protected String |
sanitizeApplicationPath(String applicationPath) |
void |
setApplicationPath(String applicationPath) |
void |
setCsrf(CsrfProperties csrf) |
void |
setHeaderSecurity(HeaderSecurityProperties headerSecurity) |
void |
setIndexRedirectEnabled(boolean indexRedirectEnabled) |
void |
setSecurityConfigFile(String securityConfigFile) |
void |
setWebjarClasspath(String webjarClasspath) |
String |
toString() |
public static final String DEFAULT_APP_PATH
public static final String PREFIX
protected String applicationPath
@NestedConfigurationProperty protected HeaderSecurityProperties headerSecurity
public boolean isIndexRedirectEnabled()
public void setIndexRedirectEnabled(boolean indexRedirectEnabled)
public String getWebjarClasspath()
public void setWebjarClasspath(String webjarClasspath)
public String getSecurityConfigFile()
public void setSecurityConfigFile(String securityConfigFile)
public String getApplicationPath()
public void setApplicationPath(String applicationPath)
public CsrfProperties getCsrf()
public void setCsrf(CsrfProperties csrf)
public HeaderSecurityProperties getHeaderSecurity()
public void setHeaderSecurity(HeaderSecurityProperties headerSecurity)
Copyright © 2021. All rights reserved.