return protocol.getHttp().resolveAttribute("DefaultVirtualServer");
}
public String getRESTBaseURL()
{
final Protocol protocol = networkConfig().getProtocols().getProtocol().get(ADMIN_LISTENER_NAME);
final String scheme = protocol.resolveBoolean("SecurityEnabled") ? "https" : "http";
final String host = "localhost";
return scheme + "://" + host + ":" + getRESTPort() + "/" + get_asadmin() + "/";
}