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() |
SessionCookieProperties |
getSessionCookie() |
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 |
setSessionCookie(SessionCookieProperties sessionCookie) |
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 SessionCookieProperties getSessionCookie()
public void setSessionCookie(SessionCookieProperties sessionCookie)
public HeaderSecurityProperties getHeaderSecurity()
public void setHeaderSecurity(HeaderSecurityProperties headerSecurity)
Copyright © 2022. All rights reserved.