if (session == null) return;
SessionContainer sessionContainer = (SessionContainer)session.getAttribute("SessionContainer");
if (sessionContainer == null) return;
sessionContainer.setUserInfo(null); //配合RequestFilter进行拦截
sessionContainer.cleanUp();
MonitorService monitorService = (MonitorService)SpringBeanLoader.getSpringBean("monitorService");
Dto dto = new BaseDto();
dto.put("sessionid", session.getId());
monitorService.deleteHttpSession(dto);
ht.remove(session.getId());
log.info("销毁了一个Session连接:" + session.getId() + " " + G4Utils.getCurrentTime());
}