java.lang.Object
org.springframework.cloud.dataflow.rest.util.HttpUtils

public class HttpUtils extends Object
Provides utilities for the Apache HttpClient, used to make REST calls
Author:
Gunnar Hillert
  • Constructor Details

    • HttpUtils

      public HttpUtils()
  • Method Details

    • buildCertificateIgnoringSslContext

      public static SSLContext buildCertificateIgnoringSslContext()
      Will create a certificate-ignoring SSLContext. Please use with utmost caution as it undermines security, but may be useful in certain testing or development scenarios.
      Returns:
      an SSLContext that will ignore peer certificates