java.lang.Object
io.sf.carte.doc.agent.net.DefaultOriginPolicy
- All Implemented Interfaces:
OriginPolicy
Origin policy.
-
Method Summary
Modifier and TypeMethodDescriptiondomainFromHostname(String host) Obtain the domain from the host name.static DefaultOriginPolicybooleanisTopLevelSuffix(String possibleTld)
-
Method Details
-
getInstance
-
isTopLevelSuffix
- Specified by:
isTopLevelSuffixin interfaceOriginPolicy
-
domainFromHostname
Description copied from interface:OriginPolicyObtain the domain from the host name.- Specified by:
domainFromHostnamein interfaceOriginPolicy- Parameters:
host- the lower case host name.- Returns:
- the domain.
-