HttpSession create(String id) {
        HttpSession httpSession;
        if (mHttpSession.containsKey(id)) {
            httpSession = mHttpSession.get(id);
        } else {
            httpSession = new HttpSession();
            mHttpSession.put(id, httpSession);
        }
        return httpSession;
    }
A factory creates {@link HttpSession} instance by id.

@author Megatron King
@since 2019/1/6 19:42
netbare-core/src/main/java/com/github/megatronking/netbare/http/HttpSessionFactory.java