package cmcc.iot.onenet.javasdk.request;

import java.util.Map;


public  interface RequestInfo {
	//定义一个枚举 
	public enum Method{
	    POST,GET,DELETE,PUT
	}
	public void setHeader(Map<String,Object> params);
	public void setEntity(String json);
	public void setEntity(Map<String, String> stringMap,Map<String,String> fileMap);
	public void setcompleteUrl(String completeUrl,Map<String,Object> params);
	public void sethttpMethod(Method method);
	public void setType(boolean upload);

}

@@ -225,22 +225,22 @@
 tEntity(
-String
+Object
  json);%0A

Update RequestInfo.java