tomcat源码阅读20
org.apache.catalina.valves
该包包括一些阀门(Valve)的实现类,被包装到了这一个包中。
org.apache.coyote包
Interface Summary | |
ActionHook |
动作钩子 |
Adapter |
适配器 |
InputBuffer |
输入缓冲 |
OutputBuffer |
输出缓冲 |
Processor |
处理器 |
ProtocolHandler |
抽象出协议的实现,包括线程的... |
Class Summary | |
ActionCode |
枚举类,列举出了适配器事件代码 |
Constants |
常量 |
Request |
低级的有效的服务请求的表示 |
RequestGroupInfo |
可以移入更高层的表示,甚至换个名 |
RequestInfo |
持有请求和响应对象的数据结构。 |
Response |
响应对象。 |
org.apache.coyote.ajp 包
Class Summary | |
AjpAprProcessor |
处理HTTP请求 |
AjpAprProtocol |
.....估计这里搞错了 |
AjpAprProtocol.AjpConnectionHandler | |
AjpMessage |
用于web服务器和容器之间的交流。 |
Constants |
常量 |
org.apache.coyote.http11包
Interface Summary | |
InputFilter |
Input filter interface. 输入过滤接口 |
OutputFilter |
Output filter. 输出过滤接口 |
Class Summary | |
Constants |
Constants. 常量 |
Http11AprProcessor |
Processes HTTP requests. 处理HTTP请求 |
Http11AprProtocol |
Abstract the protocol implementation, including threading, etc. ................ |
Http11BaseProtocol |
Abstract the protocol implementation, including threading, etc. ..................... |
Http11Processor |
Processes HTTP requests. 处理HTTP请求 |
Http11Protocol |
Abstract the protocol implementation, including threading, etc. ............... |
InternalAprInputBuffer |
Implementation of InputBuffer which provides HTTP request header parsing as well as transfer decoding. InputBuffer 的实现,提供了HTTP请求的偶不解析以及编码转换。 |
InternalAprOutputBuffer |
Output buffer. OutputBuffer 的实现,提供了HTTP请求的偶不解析以及编码转换。 |
InternalInputBuffer |
Implementation of InputBuffer which provides HTTP request header parsing as well as transfer decoding. ..................... |
InternalOutputBuffer |
Output buffer. ........... |
org.apache.coyote.http11.filters 包
Class Summary | |
BufferedInputFilter | Input filter responsible for reading and buffering the request body, so that it does not interfere with client SSL handshake messages. |
ChunkedInputFilter | Chunked input filter. |
ChunkedOutputFilter | Chunked output filter. |
GzipOutputFilter | Gzip output filter. |
IdentityInputFilter | Identity input filter. |
IdentityOutputFilter | Identity output filter. |
SavedRequestInputFilter | Input filter responsible for replaying the request body when restoring the saved request after FORM authentication. |
VoidInputFilter | Void input filter, which returns -1 when attempting a read. |
VoidOutputFilter | Void output filter, which silently swallows bytes written. |
文档那个烂啊............
转载于:https://www.cnblogs.com/macula7/archive/2010/03/14/1960500.html
tomcat源码阅读20相关推荐
- (五)Tomcat源码阅读:Connector组件分析
一.概述 因为Connector组件没有实现接口规范,因此我们直接对该类的方法进行分析即可. 二.源码阅读 阅读思路,我的阅读思路是这样的,大的类无非就是对小类的使用,因此我们想分析整体的一下架构的化 ...
- 【Tomcat源码阅读】核心组件介绍(二)
Tomcat总体结构 Tomcat总体结构用下图来表示 图片摘自:https://blog.csdn.net/jiaomingliang/article/details/47393141 从上图可以看 ...
- Tomcat 源码阅读记录(1)
使用Ant 工具进行编译打包. 源码对应关系: SourceCode TargetPackage /bin /bin /conf /conf /java /lib/* /Modules 依赖包 /re ...
- Tomcat源码阅读---ServletContext.java(小白写作,持续更新)
everybody,想我没,刚考完操作系统,我胡汉三又回来啦!!!掌声!!!鲜花!!!接着奏乐,接着舞!!!来个大的!不要说我不够意思,这个ServletContext读完的确是让我对于web程序有了 ...
- tomcat源码阅读之Server和Service接口解析
tomcat中的服务器组件接口是Server接口,服务接口是Service,Server接口表示Catalina的整个servlet引擎,囊括了所有的组件,提供了一种优雅的方式来启动/关闭Catali ...
- tomcat源码阅读之StandardHost和StandardEngine
StandardHost及UML类图: 1.StandardHost类是Host接口的默认实现:其继承自ContainerBase类,说明他也是一个容器类,既然是容器类,那肯定也有管道对象PipeLi ...
- tomcat源码阅读之session管理器(Manager)
一.UML图分析: (一) Session: Session保存了一个客户端访问服务器时,服务器专门为这个客户端建立一个session用来保存相关的会话信息,session有一个有效时间,这个时间默认 ...
- java tomcat源码_详解Tomcat系列(一)-从源码分析Tomcat的启动
在整个Tomcat系列文章讲解之前, 我想说的是虽然整个Tomcat体系比较复杂, 但是Tomcat中的代码并不难读, 只要认真花点功夫, 一定能啃下来. 由于篇幅的原因, 很难把Tomcat所有的知 ...
- 走过的路-java源码阅读之路
源码阅读,我觉得最核心有三点:技术基础+强烈的求知欲+耐心. 一.人生三种境界: 1.昨夜西风凋碧树,独上高楼望尽天涯路. 2.衣带渐宽终不悔,为伊消得人憔悴. ...
- Java源码阅读的真实体会(一种学习思路)
刚才在论坛不经意间,看到有关源码阅读的 帖子 .回想自己前几年,阅读源码那种兴奋和成就感( 1 ),不禁又有一种激动. 源码阅读,我觉得最核心有三点:技术基础+强烈的求知欲+耐心. 说到技术基础,我 ...
最新文章
- 浅谈Service Mesh体系中的Envoy
- Sicily-1063
- android LinearLayout和RelativeLayout实现精确布局
- POJ 1716 Integer Intervals 差分约束
- 《嵌入式系统项目分析入门与实践》 读后感(1)
- c# Open Source
- 【原】IOS合并lib(.a)库的终极可用方法(可用于解决duplicate symbol静态库冲突)
- kong插件应用(熔断 限流,黑白名单,认证(basic,key,jwt,hmac,),授权,加密,zipkin链路跟踪,日志, prometheus可视化, 爬虫控制插件)
- Android audio切换设备通道流程(二十八)
- 陈天桥、张朝阳力挺360:腾讯不可仗势压人
- qtcpsocket断开_QTcpSocket 对连接服务器中断的不同情况进行判定(六种情况,其中一种使用IsNetworkAlive API方法)...
- HTML基础学习(菜鸟教程和W3school参考手册)
- js-js数据结构和算法-递归思想-斐波那契数-动态规划-贪心
- Linux如何在文件中新建一行,linux – 如何使用sed将文本插入文件的第一行?
- cups共享linux打印机_利用CUPS为linux安装打印服务并局域网共享
- PS出现“不能完成命令,因为没有足够内存(RAM)”的解决方案
- 专业的知识图谱应用门槛正在被不断降低
- C 语言 —— % 运算符
- 公司担心 DDoS 攻击对客户的挫败感和品牌损害
- 网络工程师——网络隔离与入侵检测