class ApplicationURI {

    @Override
    public String toString() {
        StringBuilder url = new StringBuilder();

        if (StringUtils.isNotEmpty(getHost())) {
            url.append(getHost())
               .append(UriUtil.DEFAULT_HOST_DOMAIN_SEPARATOR);
        }

        url.append(getDomain());

        if (StringUtils.isNotEmpty(getPath())) {
            url.append(getPath());
        }

        return url.toString();
    }

    public  ApplicationURI(String initial);
    public  ApplicationURI(CloudRoute route);

}