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 DefaultOriginPolicy
boolean
isTopLevelSuffix
(String possibleTld)
-
Method Details
-
getInstance
-
isTopLevelSuffix
- Specified by:
isTopLevelSuffix
in interfaceOriginPolicy
-
domainFromHostname
Description copied from interface:OriginPolicy
Obtain the domain from the host name.- Specified by:
domainFromHostname
in interfaceOriginPolicy
- Parameters:
host
- the lower case host name.- Returns:
- the domain.
-