public static String addPropertiesToURIFromBean(String uri,Object bean) throws Exception {
  Map<String,String> properties=PropertyUtil.getProperties(bean);
  return PropertyUtil.addPropertiesToURI(uri,properties);
}

public static String addPropertiesToURIFromBean ( String uri , Object bean ) throws Exception { Map < String , String > properties = PropertyUtil . getProperties ( bean ) ; return PropertyUtil . addPropertiesToURI ( uri , properties ) ; }
enumerate the properties of the target object and add them as additional entries to the query string of the given string uri .
