ServletUtils取值(限foton)
1.String query = ServletUtils.getStringValue(request, "query", null); 2.boolean reload = ServletUtils.getBooleanValue(request, "reload", false); 3.Long datasetId = ServletUtils.getLongValue(request, "datasetId", null); 4.Set<Long> ids = ServletUtils.getLongSetValue(request, "ids"); 5.Date date = ServletUtils.getDateValue(request, "downLoadTime"); 6.List<String> keys = ServletUtils.getStringListValue(request, "keys"); 7.Integer triggerType = ServletUtils.getIntValue(request, "triggerType"); 8.Double repeatIntervalInMinutes = ServletUtils.getDoubleValue(request, "repeatIntervalInMinutes"); 9.Short testStatus = ServletUtils.getShortValue(request, "testStatus", (short) 0); 10.Date inStartTime = ServletUtils.getDateValue(request, "inStartTime", "yyyy-MM-dd HH:mm:ss", null); Date date = ServletUtils.getDateValue(request, "date", DateUtils.DEFAULT_DATE_FORMAT, null);