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, boolean trustSelfSignedCerts)
           
 org.springframework.http.client.ClientHttpRequestFactory createRequestFactory(HttpProxyConfiguration httpProxyConfiguration, boolean trustSelfSignedCerts)
           
 org.springframework.web.client.RestTemplate createRestTemplate(HttpProxyConfiguration httpProxyConfiguration, boolean trustSelfSignedCerts)
           
 
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,
                                                                      boolean trustSelfSignedCerts)

createRequestFactory

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

createOauthClient

public OauthClient createOauthClient(URL authorizationUrl,
                                     HttpProxyConfiguration httpProxyConfiguration,
                                     boolean trustSelfSignedCerts)


Copyright © 2014. All rights reserved.