getHost()

public String getHost()

This method returns the host name or the host address that you typed into the Destination Address field of the Connection section of the session configuration (such as myhost.myloc.mycompany.com or 9.27.63.45).

Figure 1. Example for getHost()
<varupdate name="$host$" value="$HMLSessionUtil.getHost()$" />