DirectJNgine类中获取application,session,Request,Response对象

DirectJNgine类中获取application,session,Request,Response对象

WebContext context = WebContextManager.get();
HttpSession session = context.getSession();
ServletContext application = context.getServletContext();
context.getRequest();
 context.getResponse();
   

你可能感兴趣的:(DirectJNgine类中获取application,session,Request,Response对象)