larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/OkHttpClient.java
public Builder sslSocketFactory(SSLSocketFactory sslSocketFactory) {
      if (sslSocketFactory == null) throw new NullPointerException("sslSocketFactory == null");
      this.sslSocketFactory = sslSocketFactory;
      this.certificateChainCleaner = Platform.get().buildCertificateChainCleaner(sslSocketFactory);
      return this;
    }
/**
     * Sets the socket factory used to secure HTTPS connections. If unset, the system default will
     * be used.
     *
     * @deprecated {@code SSLSocketFactory} does not expose its {@link X509TrustManager}, which is
     *     a field that OkHttp needs to build a clean certificate chain. This method instead must
     *     use reflection to extract the trust manager. Applications should prefer to call {@link
     *     #sslSocketFactory(SSLSocketFactory, X509TrustManager)}, which avoids such reflection.
     */
Sets the socket factory used to secure HTTPS connections. If unset, the system default will
be used.

@deprecated  SSLSocketFactory does not expose its  X509TrustManager, which is
a field that OkHttp needs to build a clean certificate chain. This method instead must
use reflection to extract the trust manager. Applications should prefer to call {@link
#sslSocketFactory(SSLSocketFactory, X509TrustManager)}, which avoids such reflection.
Sets the socket factory used to secure HTTPS connections . If unset the system default will be used . @deprecated SSLSocketFactory does not expose its X509TrustManager which is a field that OkHttp needs to build a clean certificate chain . This method instead must use reflection to extract the trust manager . Applications should prefer to call { @link #sslSocketFactory ( SSLSocketFactory X509TrustManager ) } which avoids such reflection .
public Builder sslSocketFactory(SSLSocketFactory sslSocketFactory) {
      if (sslSocketFactory == null) throw new NullPointerException("sslSocketFactory == null");
      this.sslSocketFactory = sslSocketFactory;
      this.certificateChainCleaner = Platform.get().buildCertificateChainCleaner(sslSocketFactory);
      return this;
    }
public Builder sslSocketFactory ( SSLSocketFactory sslSocketFactory ) { if ( sslSocketFactory == null ) throw new NullPointerException ( "sslSocketFactory == null" ) ; this . sslSocketFactory = sslSocketFactory ; this . certificateChainCleaner = Platform . get ( ) . buildCertificateChainCleaner ( sslSocketFactory ) ; return this ; }
Sets the socket factory used to secure HTTPS connections.
Sets the socket factory used to secure HTTPS connections .