@@ -0,0 +1,1654 @@
+package com.redant.core.session;%0A%0Aimport com.redant.core.DataHolder;%0Aimport io.netty.channel.ChannelHandlerContext;%0A%0A/**%0A * Session%E7%AE%A1%E7%90%86%E5%99%A8%E5%8C%85%E8%A3%85%E5%99%A8%0A * @author gris.wang%0A * @since 2017/11/6%0A */%0Apublic class SessionManager %7B%0A%0A    private SessionManager()%7B%0A%0A    %7D%0A%0A%0A    //======================================%0A%0A    /**%0A     * %E5%88%A4%E6%96%ADsession%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%0A     * @return%0A     */%0A    public static boolean containsSession()%7B%0A        ChannelHandlerContext context = (ChannelHandlerContext)DataHolder.get(DataHolder.HolderType.CONTEXT);%0A        return SessionHelper.instange().containsSession(context);%0A    %7D%0A%0A    /**%0A     * %E6%B7%BB%E5%8A%A0%E4%B8%80%E4%B8%AAsession%0A     * @param session%0A     */%0A    public static void addSession(HttpSession session)%7B%0A        ChannelHandlerContext context = (ChannelHandlerContext)DataHolder.get(DataHolder.HolderType.CONTEXT);%0A        SessionHelper.instange().addSession(context, session);%0A    %7D%0A%0A    /**%0A     * %E8%8E%B7%E5%8F%96%E4%B8%80%E4%B8%AAsession%0A     * @return%0A     */%0A    public static HttpSession getSession()%7B%0A        ChannelHandlerContext context = (ChannelHandlerContext)DataHolder.get(DataHolder.HolderType.CONTEXT);%0A        return SessionHelper.instange().getSession(context);%0A    %7D%0A%0A    /**%0A     * %E8%8E%B7%E5%8F%96%E4%B8%80%E4%B8%AAsession%EF%BC%8C%E8%8E%B7%E5%8F%96%E4%B8%8D%E5%88%B0%E6%97%B6%E8%87%AA%E5%8A%A8%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%0A     * @param createIfNull%0A     * @return%0A     */%0A    public static HttpSession getSession(boolean createIfNull)%7B%0A        ChannelHandlerContext context = (ChannelHandlerContext)DataHolder.get(DataHolder.HolderType.CONTEXT);%0A        return SessionHelper.instange().getSession(context,createIfNull);%0A    %7D%0A%0A    /**%0A     * %E6%B8%85%E9%99%A4%E8%BF%87%E6%9C%9F%E7%9A%84session%0A     * %E9%9C%80%E8%A6%81%E5%9C%A8%E5%AE%9A%E6%97%B6%E5%99%A8%E4%B8%AD%E6%89%A7%E8%A1%8C%E8%AF%A5%E6%96%B9%E6%B3%95%0A     */%0A    public static void clearExpireSession()%7B%0A        SessionHelper.instange().clearExpireSession();%0A    %7D%0A%0A%0A%7D%0A

add SessionManager