/**
* Make the current thread know what the current request is.
* @param servletConfig The servlet configuration object used by a servlet container
* @param request The incoming http request
* @param response The outgoing http reply
* @see #disengageThread()
*/
public static void engageThread(ServletConfig servletConfig, HttpServletRequest request, HttpServletResponse response) {
try {
WebContext ec = new DefaultWebContext(request, response, servletConfig,
servletConfig.getServletContext());
engageThread(ec);
} catch (Exception ex) {
log.fatal("Failed to create an ExecutionContext", ex);
}
}
WebContextThreadStack.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:validator-web
作者:
评论列表
文章目录