/**
   * ��https get��ʽͨ��
   *
   * @param url
   * @param sslContext
   * @throws IOException
   */
  protected void httpsGetMethod(String url, SSLContext sslContext) throws IOException {

    SSLSocketFactory sf = sslContext.getSocketFactory();

    HttpsURLConnection conn = HttpClientUtil.getHttpsURLConnection(url);

    conn.setSSLSocketFactory(sf);

    this.doGet(conn);
  }
  protected void httpsPostMethod(String url, byte[] postData, SSLContext sslContext)
      throws IOException {

    SSLSocketFactory sf = sslContext.getSocketFactory();

    HttpsURLConnection conn = HttpClientUtil.getHttpsURLConnection(url);

    conn.setSSLSocketFactory(sf);

    this.doPost(conn, postData);
  }