org.cloudfoundry.client.lib.rest
Class CloudControllerClientFactory

java.lang.Object
  extended by org.cloudfoundry.client.lib.rest.CloudControllerClientFactory

public class CloudControllerClientFactory
extends Object

Factory used to create cloud controller client implementations.

Author:
Thgomas Risberg, Ramnivas Laddad

Field Summary
protected  HttpProxyConfiguration httpProxyConfiguration
           
protected  org.codehaus.jackson.map.ObjectMapper objectMapper
           
protected  org.springframework.web.client.RestTemplate restTemplate
           
protected  RestUtil restUtil
           
 
Constructor Summary
CloudControllerClientFactory(RestUtil restUtil, HttpProxyConfiguration httpProxyConfiguration)
           
 
Method Summary
 CloudControllerClient newCloudController(URL cloudControllerUrl, CloudCredentials cloudCredentials, CloudSpace sessionSpace)
           
 CloudControllerClient newCloudController(URL cloudControllerUrl, CloudCredentials cloudCredentials, String orgName, String spaceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

restUtil

protected RestUtil restUtil

httpProxyConfiguration

protected HttpProxyConfiguration httpProxyConfiguration

restTemplate

protected org.springframework.web.client.RestTemplate restTemplate

objectMapper

protected org.codehaus.jackson.map.ObjectMapper objectMapper
Constructor Detail

CloudControllerClientFactory

public CloudControllerClientFactory(RestUtil restUtil,
                                    HttpProxyConfiguration httpProxyConfiguration)
Method Detail

newCloudController

public CloudControllerClient newCloudController(URL cloudControllerUrl,
                                                CloudCredentials cloudCredentials,
                                                CloudSpace sessionSpace)

newCloudController

public CloudControllerClient newCloudController(URL cloudControllerUrl,
                                                CloudCredentials cloudCredentials,
                                                String orgName,
                                                String spaceName)


Copyright © 2013. All rights reserved.