Examples of CallPost()


Examples of com.snda.everbox.sdk.proxy.EverBoxJsonProxy.CallPost()

    JSONObject jo = new JSONObject();
    jo.put("path", ebo.getPath());
    jo.put("editTime", ebo.getEditTime());
    EverBoxJsonProxy ebjp = new EverBoxJsonProxy();
    StringBuilder sb = new StringBuilder();
    int rc = ebjp.CallPost(EverBoxServiceURLs.META_SERVER + "/mkdir", jo, "UTF-8", sb);
    if(rc != 200)
      EverboxContext.registerFileConflict(ebo);
    return rc;
  }
 
View Full Code Here

Examples of com.snda.everbox.sdk.proxy.EverBoxJsonProxy.CallPost()

  public static void deleteRemote(EverBoxObject ebo) throws Throwable {
    JSONObject jo = new JSONObject();
    jo.put("paths", new Object[]{ebo.getPath()});
    EverBoxJsonProxy ebjp = new EverBoxJsonProxy();
    StringBuilder sb = new StringBuilder();
    ebjp.CallPost("/delete", jo, "UTF-8", sb);
  }
 
  /**
   * 计算需要创建的远程文件夹
   */
 
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.