java_method
package mytest; import java.util.HashMap; import java.util.Map; //import com.idss.monkey.common.util.IdssHttpClient; //import com.idss.monkey.common.util.CommonUtils; public class TestJave { public String sayHello() { return "Hello"; } public String sayHelloToPerson(String s) { if(s == null || s.equals("")) s = "nobody"; return (new StringBuilder()).append("Hello ").append(s).toString(); } public int sum(int a,int b) { return a+b; } // public static String sendRequest(String url,String serviceCode,String requestCode,String json,String photoPath) { // // String re = IdssHttpClient.sendPost(url, serviceCode, requestCode, json); // System.out.println(re); // return null; }