Examples of QQSSLSocketFactory


Examples of iqq.im.http.QQSSLSocketFactory

  /** {@inheritDoc} */
  @Override
  public void init(QQContext context) throws QQException {
    super.init(context);
    try {
      SSLContext sslContext = new QQSSLSocketFactory().getSSLContext();
      SSLContext.setDefault(sslContext);
      asyncHttpClient = new DefaultHttpAsyncClient();
     
      HttpParams httpParams = asyncHttpClient.getParams();
          HttpConnectionParams.setSoTimeout(httpParams, QQConstants.HTTP_TIME_OUT);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.