Package iqq.im.http

Examples of iqq.im.http.QQHttpRequest.addGetValue()


        QQConstants.URL_GET_USER_ACCOUNT);
    req.addGetValue("tuin", buddy.getUin() + "");
    req.addGetValue("vfwebqq", session.getVfwebqq());
    req.addGetValue("t", System.currentTimeMillis() / 1000 + "");
    req.addGetValue("verifysession", ""); // 验证码??
    req.addGetValue("type", 1 + "");
    req.addGetValue("code", "");

    req.addHeader("Referer", QQConstants.REFFER);
    return req;
  }
View Full Code Here


    req.addGetValue("tuin", buddy.getUin() + "");
    req.addGetValue("vfwebqq", session.getVfwebqq());
    req.addGetValue("t", System.currentTimeMillis() / 1000 + "");
    req.addGetValue("verifysession", ""); // 验证码??
    req.addGetValue("type", 1 + "");
    req.addGetValue("code", "");

    req.addHeader("Referer", QQConstants.REFFER);
    return req;
  }
View Full Code Here

  protected QQHttpRequest onBuildRequest() throws QQException, JSONException {
    QQSession session = getContext().getSession();

    QQHttpRequest req = createHttpRequest("GET",
        QQConstants.URL_CUSTOM_FACE_SIG);
    req.addGetValue("clientid", session.getClientId() + "");
    req.addGetValue("psessionid", session.getSessionId());
    req.addGetValue("t", System.currentTimeMillis() / 1000 + "");

    req.addHeader("Referer", QQConstants.REFFER);
    return req;
View Full Code Here

    QQSession session = getContext().getSession();

    QQHttpRequest req = createHttpRequest("GET",
        QQConstants.URL_CUSTOM_FACE_SIG);
    req.addGetValue("clientid", session.getClientId() + "");
    req.addGetValue("psessionid", session.getSessionId());
    req.addGetValue("t", System.currentTimeMillis() / 1000 + "");

    req.addHeader("Referer", QQConstants.REFFER);
    return req;
  }
View Full Code Here

    QQHttpRequest req = createHttpRequest("GET",
        QQConstants.URL_CUSTOM_FACE_SIG);
    req.addGetValue("clientid", session.getClientId() + "");
    req.addGetValue("psessionid", session.getSessionId());
    req.addGetValue("t", System.currentTimeMillis() / 1000 + "");

    req.addHeader("Referer", QQConstants.REFFER);
    return req;
  }
View Full Code Here

  /** {@inheritDoc} */
  @Override
  protected QQHttpRequest onBuildRequest() throws QQException, JSONException {
    QQHttpRequest req = createHttpRequest("GET", QQConstants.URL_GET_USER_LEVEL);
    QQSession session  = getContext().getSession();
    req.addGetValue("tuin", user.getUin() + "");
    req.addGetValue("t", DateUtils.nowTimestamp() + "");
    req.addGetValue("vfwebqq", session.getVfwebqq());
    return req;
  }
}
View Full Code Here

  @Override
  protected QQHttpRequest onBuildRequest() throws QQException, JSONException {
    QQHttpRequest req = createHttpRequest("GET", QQConstants.URL_GET_USER_LEVEL);
    QQSession session  = getContext().getSession();
    req.addGetValue("tuin", user.getUin() + "");
    req.addGetValue("t", DateUtils.nowTimestamp() + "");
    req.addGetValue("vfwebqq", session.getVfwebqq());
    return req;
  }
}
View Full Code Here

  protected QQHttpRequest onBuildRequest() throws QQException, JSONException {
    QQHttpRequest req = createHttpRequest("GET", QQConstants.URL_GET_USER_LEVEL);
    QQSession session  = getContext().getSession();
    req.addGetValue("tuin", user.getUin() + "");
    req.addGetValue("t", DateUtils.nowTimestamp() + "");
    req.addGetValue("vfwebqq", session.getVfwebqq());
    return req;
  }
}
View Full Code Here

  }
  /** {@inheritDoc} */
  @Override
  protected QQHttpRequest onBuildRequest() throws QQException, JSONException {
    QQHttpRequest req = createHttpRequest("GET", QQConstants.URL_GET_CAPTCHA);
    req.addGetValue("aid", QQConstants.APPID);
    req.addGetValue("r", Math.random() + "");
    req.addGetValue("uin", uin + "");
    return req;
  }

View Full Code Here

  /** {@inheritDoc} */
  @Override
  protected QQHttpRequest onBuildRequest() throws QQException, JSONException {
    QQHttpRequest req = createHttpRequest("GET", QQConstants.URL_GET_CAPTCHA);
    req.addGetValue("aid", QQConstants.APPID);
    req.addGetValue("r", Math.random() + "");
    req.addGetValue("uin", uin + "");
    return req;
  }

 
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.