Package cn.jpush.api.common

Examples of cn.jpush.api.common.NativeHttpClient$SimpleHostnameVerifier


 
  public ReportClient(String masterSecret, String appKey, int maxRetryTimes, HttpProxy proxy) {
        ServiceHelper.checkBasic(appKey, masterSecret);
        String authCode = ServiceHelper.getBasicAuthorization(appKey, masterSecret);
       
        _httpClient = new NativeHttpClient(authCode, maxRetryTimes, proxy);
  }
View Full Code Here


  public PushClient(String masterSecret, String appKey, int maxRetryTimes, HttpProxy proxy) {
        ServiceHelper.checkBasic(appKey, masterSecret);
       
        String authCode = ServiceHelper.getBasicAuthorization(appKey, masterSecret);
        this._baseUrl = HOST_NAME_SSL + PUSH_PATH;
        this._httpClient = new NativeHttpClient(authCode, maxRetryTimes, proxy);
  }
View Full Code Here

TOP

Related Classes of cn.jpush.api.common.NativeHttpClient$SimpleHostnameVerifier

Copyright © 2018 www.massapicom. 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.