Class RestUtil
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.util.RestUtil
-
public class RestUtil extends Object
Some helper utilities for creating classes used for the REST support.
-
-
Constructor Summary
Constructors Constructor Description RestUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthClientcreateOAuthClient(URL controllerUrl, org.cloudfoundry.reactor.ConnectionContext connectionContext, String origin, boolean shouldTrustSelfSignedCertificates)OAuthClientcreateOAuthClientByControllerUrl(URL controllerUrl, boolean shouldTrustSelfSignedCertificates)org.springframework.web.reactive.function.client.WebClientcreateWebClient(boolean trustSelfSignedCerts)
-
-
-
Method Detail
-
createOAuthClient
public OAuthClient createOAuthClient(URL controllerUrl, org.cloudfoundry.reactor.ConnectionContext connectionContext, String origin, boolean shouldTrustSelfSignedCertificates)
-
createOAuthClientByControllerUrl
public OAuthClient createOAuthClientByControllerUrl(URL controllerUrl, boolean shouldTrustSelfSignedCertificates)
-
createWebClient
public org.springframework.web.reactive.function.client.WebClient createWebClient(boolean trustSelfSignedCerts)
-
-