Package org.ametys.plugins.site
Class SiteUrl
- java.lang.Object
 - 
- org.ametys.plugins.site.SiteUrl
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private String_serverNameprivate String_serverPathprivate String_serverPort 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseServerPath(Request request)Get the site's base server path.StringgetServerName()Returns the front-office server name.StringgetServerPath()Returns the front-office server context path.StringgetServerPort()Returns the front-office server port. 
 - 
 
- 
- 
Field Detail
- 
_serverName
private String _serverName
 
- 
_serverPort
private String _serverPort
 
- 
_serverPath
private String _serverPath
 
 - 
 
- 
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.
 
 
 - 
 
 -