public class JsonLdConfiguration extends Object
Constructor and Description |
---|
JsonLdConfiguration() |
Modifier and Type | Method and Description |
---|---|
long |
getCacheExpireHours()
Get the JSON-LD profile cache expire time in hours (default=24).
|
long |
getCacheSize()
Get the JSON-LD profile cache size (default=100).
|
Set<String> |
getContextDomainWhitelist()
Get the domain whitelist of custom JSON-LD profiles.
|
Set<String> |
getContextWhitelist()
Get the whitelist of custom JSON-LD profiles.
|
void |
setCacheExpireHours(long profileCacheExpireHours)
Set the JSON-LD profile cache exire time in hours.
|
void |
setCacheSize(long profileCacheSize)
Set the JSON-LD profile cache size.
|
void |
setContextDomainWhitelist(Set<String> whitelistDomains)
Set the domain whitelist of custom JSON-LD profiles.
|
void |
setContextWhitelist(Set<String> whitelist)
Set the whitelist of custom JSON-LD profiles.
|
public Set<String> getContextWhitelist()
public void setContextWhitelist(Set<String> whitelist)
whitelist
- the json-ld profile witelistpublic Set<String> getContextDomainWhitelist()
public void setContextDomainWhitelist(Set<String> whitelistDomains)
whitelistDomains
- the json-ld domain profile witelistpublic long getCacheExpireHours()
public void setCacheExpireHours(long profileCacheExpireHours)
profileCacheExpireHours
- the json-ld profile cache expire time in hours.public long getCacheSize()
public void setCacheSize(long profileCacheSize)
profileCacheSize
- the size of the json-ld profile cache