Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Code Block | ||
---|---|---|
| ||
import org.joget.commons.util.HostManager;
String profileName = HostManager.getCurrentProfile(); |
...
public static java.lang.String getContextPath()
Gets the context path of the HTTP request
public static java.lang.String getCurrentHost()
Gets the current Host of HTTP request
public static java.lang.String getCurrentProfile()
...
public static void setCurrentProfile(java.lang.String profile)
Sets the profile of current HTTP request.
...
public static void setCurrentHost(java.lang.String hostname)
Sets the Host of current HTTP request.
...