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);

  

 

posted @ 2019-05-31 14:32  蔡徐坤1987  阅读(477)  评论(0编辑  收藏  举报