Package de.FBEditor.struct

Examples of de.FBEditor.struct.HttpPost


        language = fbfwvn.getFritzboxLanguage().toLowerCase();
      }

    } else {

      HttpPost http = new HttpPost();
      boolean isQueryOld = false;
      String url = urlstr;
      String sRetQueryOld = "";
      String sRetQueryNew = "";
      postdata = "sid=" + sRetSID + "&"
          + "getpage=../html/query.txt&var:cnt=1" + "&var:n" + "0"
          + "=" + "logic:status/nspver";
      sRetQueryOld = http.Post2(url, postdata);
      postdata = "sid=" + sRetSID + "&"
          + "getpage=../html/query.txt&var:cnt=1" + "&var:n[" + "0"
          + "]=" + "logic:status/nspver";
      sRetQueryNew = http.Post2(url, postdata);

      if (sRetQueryOld.length() > sRetQueryNew.length()) {
        isQueryOld = true;
        data = sRetQueryOld;
      } else {
View Full Code Here


  public FritzBoxFirmware getFirmware() {
    return firmware;
  }

  public String getFirmwareStatus() {
    HttpPost http = new HttpPost();
    String url = (new StringBuilder("http://"))
        .append(FBEdit.getInstance().getbox_address())
        .append("/cgi-bin/system_status").toString();
    String sFBFW_Status = http.Post(url, "");
    return sFBFW_Status;
  }
View Full Code Here

TOP

Related Classes of de.FBEditor.struct.HttpPost

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.