Class DomainExtendProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = DomainExtendProp.Key) public class DomainExtendProp
Host Extend and URL Override. wings-domain-extend-79.properties
- Since:
2021-02-14
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic intcacheSizepublic final static StringKey$cacheSizepublic Stringprefixpublic final static StringKey$prefixpublic Map<String, Set<String>>hostpublic final static StringKey$hostpublic List<String>otherUrlpublic final static StringKey$otherUrl
-
Constructor Summary
Constructors Constructor Description DomainExtendProp()
-
Method Summary
Modifier and Type Method Description intgetCacheSize()cache size of matched and unmatched url, caution when RESTful voidsetCacheSize(int cacheSize)cache size of matched and unmatched url, caution when RESTful StringgetPrefix()the uniform domain prefix of the mapping and resource Url. voidsetPrefix(String prefix)the uniform domain prefix of the mapping and resource Url. Map<String, Set<String>>getHost()host mapping, FilenameUtils.wildcardMatch, eg. voidsetHost(Map<String, Set<String>> host)host mapping, FilenameUtils.wildcardMatch, eg. List<String>getOtherUrl()specified domain url that is not automatically detected. voidsetOtherUrl(List<String> otherUrl)specified domain url that is not automatically detected. booleanequals(@Nullable() Object o)inthashCode()StringtoString()-
-
Method Detail
-
getCacheSize
int getCacheSize()
cache size of matched and unmatched url, caution when RESTful
-
setCacheSize
void setCacheSize(int cacheSize)
cache size of matched and unmatched url, caution when RESTful
-
getHost
Map<String, Set<String>> getHost()
host mapping, FilenameUtils.wildcardMatch, eg. `trydofor`=`*.trydofor.com, trydofor.com`
-
setHost
void setHost(Map<String, Set<String>> host)
host mapping, FilenameUtils.wildcardMatch, eg. `trydofor`=`*.trydofor.com, trydofor.com`
-
getOtherUrl
List<String> getOtherUrl()
specified domain url that is not automatically detected. ant match style, eg. `other-url`=`/trydofor/b/c.html`
-
setOtherUrl
void setOtherUrl(List<String> otherUrl)
specified domain url that is not automatically detected. ant match style, eg. `other-url`=`/trydofor/b/c.html`
-
hashCode
int hashCode()
-
-
-
-