public CloudFoundryClient( CloudCredentials credentials, URL cloudControllerUrl, HttpProxyConfiguration httpProxyConfiguration, CloudSpace sessionSpace) { Assert.notNull(cloudControllerUrl, "URL for cloud controller cannot be null"); CloudControllerClientFactory cloudControllerClientFactory = new CloudControllerClientFactory(httpProxyConfiguration); this.cc = cloudControllerClientFactory.newCloudController( cloudControllerUrl, credentials, sessionSpace); }