public void sendRequest(@MethodDef int method,String urlPattern,List<Pairs.Pair> pairs,ApiParams bodyParams,VolleyUtil.HttpCallback callback){
  VolleyUtil.sendRequest(method - 1,RestfulHelper.buildRestfulUrl(urlPattern,pairs),bodyParams,this,callback);
}

public void sendRequest ( @ MethodDef int method , String urlPattern , List < Pairs . Pair > pairs , ApiParams bodyParams , VolleyUtil . HttpCallback callback ) { VolleyUtil . sendRequest ( method - 1 , RestfulHelper . buildRestfulUrl ( urlPattern , pairs ) , bodyParams , this , callback ) ; }
send a request to server and callback . this only can be used by restful style .
