Map<String,Object> params = new HashMap<String, Object>(); BufferedReader br; try { br = request.getReader(); String str, wholeStr = ""; while((str = br.readLine()) != null){ wholeStr += str; } if(StringUtils.isNotEmpty(wholeStr)){ params = JSON.parseObject(wholeStr,Map.class); } } catch (IOException e1) { logger.error(""+e1); }