JSONArr list() {
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd'T'HH:mm:ssZ");
JSONArr arr = new JSONArr();
for (HttpSession session : AppSessionDebugger.list()) {
JSONObj obj = arr.addObject();
obj.put("id", session.getId())
.put("created", dateFormat.format(new Date(session.getCreationTime())))
.put("updated", dateFormat.format(new Date(session.getLastAccessedTime())))
.put("timeout", session.getMaxInactiveInterval());