Package org.ametys.plugins.site
Class SiteUrl
- java.lang.Object
-
- org.ametys.plugins.site.SiteUrl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseServerPath(Request request)
Get the site's base server path.String
getServerName()
Returns the front-office server name.String
getServerPath()
Returns the front-office server context path.String
getServerPort()
Returns the front-office server port.
-
-
-
Method Detail
-
getServerName
public String getServerName()
Returns the front-office server name.- Returns:
- the front-office server name.
-
getServerPort
public String getServerPort()
Returns the front-office server port.- Returns:
- the front-office server port.
-
getServerPath
public String getServerPath()
Returns the front-office server context path.- Returns:
- the front-office server context path.
-
getBaseServerPath
public String getBaseServerPath(Request request)
Get the site's base server path.- Parameters:
request
- the request.- Returns:
- the base site server path.
-
-