Class HttpUtils
java.lang.Object
org.springframework.cloud.dataflow.rest.util.HttpUtils
Provides utilities for the Apache
HttpClient
, used to make REST calls- Author:
- Gunnar Hillert
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SSLContext
Will create a certificate-ignoringSSLContext
.
-
Constructor Details
-
HttpUtils
public HttpUtils()
-
-
Method Details
-
buildCertificateIgnoringSslContext
Will create a certificate-ignoringSSLContext
. 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
-