public void setCollectionPeriod(long collectionPeriod) {
this.collectionPeriod = collectionPeriod;
}
protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {
SystemInformation systemInformation = new SystemInformation();
systemInformation.setAppBase(getContainerWrapper().getTomcatContainer().getAppBase().getAbsolutePath());
systemInformation.setConfigBase(getContainerWrapper().getTomcatContainer().getConfigBase());
Map sysProps = new Properties();
sysProps.putAll(System.getProperties());
if (!SecurityUtils.hasAttributeValueRole(getServletContext(), request)) {
for (Iterator it = filterOutKeys.iterator(); it.hasNext();) {
sysProps.remove(it.next());
}
}
systemInformation.setSystemProperties(sysProps);
return new ModelAndView(getViewName())
.addObject("systemInformation", systemInformation)
.addObject("runtime", getRuntimeInfoAccessor().getRuntimeInformation())
.addObject("collectionPeriod", new Long(getCollectionPeriod()));