/**
   * ��http get��ʽͨ��
   *
   * @param url
   * @throws IOException
   */
  protected void httpGetMethod(String url) throws IOException {

    HttpURLConnection httpConnection = HttpClientUtil.getHttpURLConnection(url);

    this.setHttpRequest(httpConnection);

    httpConnection.setRequestMethod("GET");

    this.responseCode = httpConnection.getResponseCode();

    this.inputStream = httpConnection.getInputStream();
  }
  /**
   * ��http post��ʽͨ��
   *
   * @param url
   * @param postData
   * @throws IOException
   */
  protected void httpPostMethod(String url, byte[] postData) throws IOException {

    HttpURLConnection conn = HttpClientUtil.getHttpURLConnection(url);

    this.doPost(conn, postData);
  }