Package org.silverpeas.core.web.util
Class DomainDetector
- java.lang.Object
-
- org.silverpeas.core.web.util.DomainDetector
-
public class DomainDetector extends Object
-
-
Constructor Summary
Constructors Constructor Description DomainDetector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getDomainId(javax.servlet.http.HttpServletRequest request)
Return domain id according to server URL and settings file
-
-
-
Method Detail
-
getDomainId
public static String getDomainId(javax.servlet.http.HttpServletRequest request)
Return domain id according to server URL and settings file- Parameters:
request
-- Returns:
- domainId if according rule is present in settings file, null otherwise
-
-