限定符和类型 | 字段和说明 |
---|---|
private CacheEntity<java.lang.Short,org.springframework.web.cors.CorsConfiguration> |
cache |
private static java.lang.String |
CONFIG_ALLOW_CREDENTIALS |
private static java.lang.String |
CONFIG_ALLOWED_HEADERS |
private static java.lang.String |
CONFIG_ALLOWED_METHODS |
private static java.lang.String |
CONFIG_ALLOWED_ORIGINS |
static java.lang.String |
CONFIG_CODE |
static java.lang.String |
CONFIG_CODE_DESCRIPTION |
private static java.lang.String |
CONFIG_EXPOSED_HEADERS |
private static java.lang.String |
CONFIG_MAXAGE |
private ConfigDataComponent |
configDataComponent |
private SiteComponent |
siteComponent |
CONFIG_CODE_DESCRIPTION_SUFFIX, CONFIGPREFIX, INPUT_TYPE_EDITORS, INPUT_TYPE_FILES, INPUT_TYPE_PRIVATE_FILES, INPUTTYPE_BOOLEAN, INPUTTYPE_CAPTCHA, INPUTTYPE_CATEGORY, INPUTTYPE_CATEGORY_PATH, INPUTTYPE_CATEGORYTYPE, INPUTTYPE_COLOR, INPUTTYPE_CONTENT, INPUTTYPE_CONTENT_STATUS, INPUTTYPE_DATE, INPUTTYPE_DATETIME, INPUTTYPE_DEPT, INPUTTYPE_DICTIONARY, INPUTTYPE_EMAIL, INPUTTYPE_FILE, INPUTTYPE_IMAGE, INPUTTYPE_KEYVALUE, INPUTTYPE_KEYWORDS, INPUTTYPE_LANG, INPUTTYPE_MODULE, INPUTTYPE_NUMBER, INPUTTYPE_PASSWORD, INPUTTYPE_PRIVATEFILE, INPUTTYPE_PRIVATEIMAGE, INPUTTYPE_PRIVATEVIDEO, INPUTTYPE_SURVEY, INPUTTYPE_TAG, INPUTTYPE_TAGTYPE, INPUTTYPE_TEMPLATE, INPUTTYPE_TEXT, INPUTTYPE_TEXTAREA, INPUTTYPE_TIME, INPUTTYPE_USER, INPUTTYPE_VIDEO, INPUTTYPE_VOTE
构造器和说明 |
---|
CorsConfigComponent() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
void |
clear(short siteId) |
java.lang.String |
getCode(short siteId,
boolean showAll) |
java.lang.String |
getCodeDescription(java.util.Locale locale) |
org.springframework.web.cors.CorsConfiguration |
getConfig(SysSite site) |
java.util.List<SysExtendField> |
getExtendFieldList(SysSite site,
java.util.Locale locale) |
void |
initCache(CacheEntityFactory cacheEntityFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportable, getCode, getMessage
public static final java.lang.String CONFIG_CODE
public static final java.lang.String CONFIG_CODE_DESCRIPTION
private static final java.lang.String CONFIG_ALLOWED_ORIGINS
private static final java.lang.String CONFIG_ALLOWED_METHODS
private static final java.lang.String CONFIG_ALLOWED_HEADERS
private static final java.lang.String CONFIG_EXPOSED_HEADERS
private static final java.lang.String CONFIG_ALLOW_CREDENTIALS
private static final java.lang.String CONFIG_MAXAGE
private CacheEntity<java.lang.Short,org.springframework.web.cors.CorsConfiguration> cache
private SiteComponent siteComponent
private ConfigDataComponent configDataComponent
public org.springframework.web.cors.CorsConfiguration getConfig(SysSite site)
public void initCache(CacheEntityFactory cacheEntityFactory) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.SecurityException
cacheEntityFactory
- java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.IllegalArgumentException
public java.lang.String getCode(short siteId, boolean showAll)
public java.lang.String getCodeDescription(java.util.Locale locale)
getCodeDescription
在接口中 Config
locale
- public java.util.List<SysExtendField> getExtendFieldList(SysSite site, java.util.Locale locale)
getExtendFieldList
在接口中 Config