HttpSessionListener.java 文件源码

java
阅读 30 收藏 0 点赞 0 评论 0

项目:convertigo-engine 作者:
public void valueUnbound(HttpSessionBindingEvent event) {
    try {
        Engine.logContext.debug("HTTP session stopping...");
        HttpSession httpSession = event.getSession();
        String httpSessionID = httpSession.getId();

        if (Engine.theApp != null) Engine.theApp.contextManager.removeAll(httpSessionID);
        removeSession(httpSessionID);

        Engine.logContext.debug("HTTP session stopped [" + httpSessionID + "]");
    } catch(Exception e) {
        Engine.logContext.error("Exception during unbinding HTTP session listener", e);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号