org.cloudfoundry.client.lib.util
Class RestUtil

java.lang.Object
  extended by org.cloudfoundry.client.lib.util.RestUtil

public class RestUtil
extends Object

Some helper utilities for creating classes used for the REST support.

Author:
Thomas Risberg

Constructor Summary
RestUtil()
           
 
Method Summary
 OauthClient createOauthClient(URL authorizationUrl, HttpProxyConfiguration httpProxyConfiguration)
           
 org.springframework.http.client.ClientHttpRequestFactory createRequestFactory(HttpProxyConfiguration httpProxyConfiguration)
           
 org.springframework.web.client.RestTemplate createRestTemplate(HttpProxyConfiguration httpProxyConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestUtil

public RestUtil()
Method Detail

createRestTemplate

public org.springframework.web.client.RestTemplate createRestTemplate(HttpProxyConfiguration httpProxyConfiguration)

createRequestFactory

public org.springframework.http.client.ClientHttpRequestFactory createRequestFactory(HttpProxyConfiguration httpProxyConfiguration)

createOauthClient

public OauthClient createOauthClient(URL authorizationUrl,
                                     HttpProxyConfiguration httpProxyConfiguration)


Copyright © 2013. All rights reserved.