Class RestUtil


  • public class RestUtil
    extends Object
    Some helper utilities for creating classes used for the REST support.
    • Constructor Detail

      • RestUtil

        public RestUtil()
    • 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)