Interface IRestOptions


  • public interface IRestOptions
    An interface for customizing how the DevCycle SDK makes external requests, allowing for the injection of custom headers or SSL configuration.
    • Method Detail

      • getHeaders

        java.util.Map<java.lang.String,​java.lang.String> getHeaders()
        Returns:
        A set of HTTP request headers that should be incorporated into all outgoing requests. return null if no headers are needed.
      • getSocketFactory

        javax.net.ssl.SSLSocketFactory getSocketFactory()
        Returns:
        A custom SSLSocketFactory to use when making requests. Return null if the default SSLSocket factory can be used
      • getTrustManager

        javax.net.ssl.X509TrustManager getTrustManager()
        Returns:
        Provide a trust manager to handle custom certificates. Return null if the default trust manager can be used
      • getHostnameVerifier

        javax.net.ssl.HostnameVerifier getHostnameVerifier()
        Returns:
        A custom HostnameVerifier to use when making requests. Return null if the default HostnameVerifier can be used