Package org.eclipse.ecf.internal.bulletinboard.commons.webapp

Examples of org.eclipse.ecf.internal.bulletinboard.commons.webapp.WebRequest


    return (VBParser) parser;
  }

  @Override
  protected WebRequest createMemberGroupListRequest() {
    WebRequest request = new GetRequest(httpClient, url, "profile.php");
    request.addParameter(new NameValuePair("do", "editusergroups"));
    return request;
  }
View Full Code Here


    List<IThreadMessage> messages = new ArrayList<IThreadMessage>();
    try {
      int nextPage = STARTPAGE;
      SkippedStatus skipped = new SkippedStatus();
      while (nextPage > NONE) {
        WebRequest req = createRequest(nextPage);
        req.execute();
        String resp = req.getResponseBodyAsString();
        req.releaseConnection();
        messages.addAll(0, bb.getParser().parseMessages2(resp,
            thread.lastReadMessageId, true, skipped));
        if (skipped.messagesSkipped) {
          nextPage = NONE;
        } else {
View Full Code Here

    }
    return messages;
  }

  public WebRequest createRequest(int page) {
    WebRequest req = new PostRequest(bb.getHttpClient(), bb.getURL(),
        "showthread.php?t="
            + ((ThreadID) thread.getID()).getLongValue() + "&page="
            + page);
    return req;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.internal.bulletinboard.commons.webapp.WebRequest

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.