org.springframework.cloud.dataflow.rest.util

## Class HttpUtils

- 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 Summary

    Constructors
    Constructor and Description
    `HttpUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SSLContext` | `buildCertificateIgnoringSslContext()` Will create a certificate-ignoring `SSLContext`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HttpUtils

          public HttpUtils()

  - ### Method Detail

    - #### 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

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.