Map<String, String> hParams = new HashMap<String, String>();
hParams.put("q", SEARCH_QUERY_PARAM);
hParams.put("indent", "on");
// just for debugging
HttpClientTemplate hct = new HttpClientTemplate(selectUrl, true);
hct.executeGetMethod(hParams, new ResponseStringCallback() {
public void doWithResponse(String response) throws IOException {
logger.debug("After update without commit: " + response);
}
});