tomcat4 代码摘
just4download1
这个作者很懒,什么都没留下…
展开
-
Tomcat4 默认连接器
删了很多,只留下了主要脉络,以便回忆TOMCAT如何做到多线程处理请求[code="java"] /** * The set of processors that have been created but are not currently * being used to process a request. */ private St...2011-05-24 12:33:47 · 90 阅读 · 0 评论 -
Tomcat4 简单wrapper责任链
TOMCAT4容器的责任链[code="java"]public class SimpleWrapper implements Wrapper, Pipeline { private String servletClass; private SimplePipeline pipeline = new SimplePipeline(this); protecte...原创 2011-05-25 12:36:52 · 80 阅读 · 0 评论 -
TOMCAT4 简单Context
Context 代表一个WEB应用[code="java"]public class SimpleContext implements Context, Pipeline { public SimpleContext() { pipeline.setBasic(new SimpleContextValve()); } protected HashMap...原创 2011-05-25 12:52:37 · 85 阅读 · 0 评论