
Tomcat
文章平均质量分 85
Tomcat源码分析
性感的大表哥
这个作者很懒,什么都没留下…
展开
-
tomcat源码系列---接收请求
org.apache.tomcat.util.net.NioEndpoint接收网络请求的处理类,其中包含几个重要的原创 2021-06-04 00:23:25 · 838 阅读 · 2 评论 -
tomcat源码系列---结果响应
org.apache.catalina.connector.CoyoteAdapter#service public void service(org.apache.coyote.Request req, org.apache.coyote.Response res) throws Exception { Request request = (Request) req.getNote(ADAPTER_NOTES); Response respon原创 2021-06-02 17:36:39 · 599 阅读 · 0 评论 -
tomcat源码系列---请求处理
NioEndpoint.Acceptor#run serverSock.accept() 接收请求 NioEndpoint#setSocketOptions 处理Socket连接 NioEndpoint.Poller#register NioEndpoint.Poller#addEvent 添加到队列SynchronizedQueue<PollerEvent> NioEndpoint.Poller#run 轮询事件 NioEndpoint.Poller#proc.原创 2021-05-31 17:47:05 · 420 阅读 · 0 评论