org.silverpeas.web.util
Class DomainDetector
java.lang.Object
org.silverpeas.web.util.DomainDetector
public class DomainDetector
- extends Object
Method Summary |
static String |
getDomainId(javax.servlet.http.HttpServletRequest request)
Return domain id according to server URL and settings file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainDetector
public DomainDetector()
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
Copyright © 2016 Silverpeas. All Rights Reserved.