public static String getUrlWithQueryString(String url, AjaxParams params) { if (params != null) { String paramString = params.getParamString(); url += "?" + paramString; } return url; }
private HttpEntity paramsToEntity(AjaxParams params) { HttpEntity entity = null; if (params != null) { entity = params.getEntity(); } return entity; }