tomcat源码阅读25
org.apache.tomcat.util.collections 包
特定的集合,该包包括一些特殊的集合,用于服务器端的应用。
| Class Summary | |
| EmptyEnumeration | 无 |
| LRUCache |
This class implements a Generic LRU Cache 该类实现了统一的LRU缓存 |
| MultiMap |
An efficient representation for certain type of map. 特定类型的map |
| MultiMapNamesEnumeration |
Enumerate the distinct header names. 头名字的枚举类型 |
| Queue |
A simple FIFO queue class which causes the calling thread to wait if the queue is empty and notifies threads that are waiting when it is not empty. 一个简单的FIFO队列,线程在该队列为空的时候等待,非空的时候唤醒线程 |
| SimpleHashtable |
This class implements a special purpose hashtable. 该类实现了特殊目的的hashtable |
| SimplePool |
Simple object pool. 简单的对象池 |
org.apache.tomcat.util.compat 包
| Class Summary | |
| Jdk14Compat | See JdkCompat. |
| JdkCompat |
General-purpose utility to provide backward-compatibility and JDK independence.
|
org.apache.tomcat.util.digester包
解析XML文件
org.apache.tomcat.util.http 包
处理HTTP的 entities - headers, parameters, cookies等等
| Class Summary | |
| AcceptLanguage |
用于处理“Accept-Language”头 |
| BaseRequest |
表示HTTP请求的对象 |
| ContentType |
定义了内容类型处理的方法 |
| Cookies |
cookies集合,可重用的,提升了服务器端的性能。 |
| FastHttpDateFormat |
产生HTTP时间的工具类 |
| HttpMessages |
处理HTTP消息 |
| MimeHeaders |
MIME头的容器 |
| MimeMap |
MIME类型的map,实现了java.net.FileNameMap接口 |
| Parameters | 无 |
| ServerCookie |
服务器端的Cookie表示 |
org.apache.tomcat.util.log 包
| Class Summary | |
| SystemLogHandler |
该帮助类用于复杂的System.out和System.err的重定向工作(on a per Thread basis)。 |
浙公网安备 33010602011771号