class ApplicationURI {

    public Object getURIPart(String partName) {
        switch (partName) {
            case SupportedParameters.HOST:
                return getHost();
            case SupportedParameters.DOMAIN:
                return getDomain();
            case SupportedParameters.ROUTE_PATH:
                return getPath();
            default:
                return null;
        }
    }

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

}