- All Known Implementing Classes:
DefaultOriginPolicy
public interface OriginPolicy
Origin policy.
-
Method Summary
Modifier and TypeMethodDescriptiondomainFromHostname(String host) Obtain the domain from the host name.booleanisTopLevelSuffix(String possibleTld)
-
Method Details
-
isTopLevelSuffix
-
domainFromHostname
Obtain the domain from the host name.- Parameters:
host- the lower case host name.- Returns:
- the domain.
-