@Deprecated public class VirtualHostHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getBaseURL(javax.servlet.ServletRequest request)
Deprecated.
|
static String |
getContextPath(javax.servlet.ServletRequest request)
Deprecated.
Returns the context path of the application.
|
static String |
getContextPathProperty()
Deprecated.
|
static String |
getServerURL(javax.servlet.ServletRequest request)
Deprecated.
|
static String |
getServerURL(javax.servlet.ServletRequest request,
boolean local)
Deprecated.
|
static String |
getWebAppName(javax.servlet.ServletRequest request)
Deprecated.
|
public static String getWebAppName(javax.servlet.ServletRequest request)
public static String getServerURL(javax.servlet.ServletRequest request)
public static String getServerURL(javax.servlet.ServletRequest request, boolean local)
public static String getBaseURL(javax.servlet.ServletRequest request)
public static String getContextPath(javax.servlet.ServletRequest request)
ServletRequest
and then from the
org.nuxeo.ecm.contextPath
system property. Fallback on default context path /nuxeo
.public static String getContextPathProperty()
Copyright © 2015 Nuxeo SA. All rights reserved.