tomcat源码阅读24

org.apache.naming.resources 包

Class Summary
BaseDirContext

Directory Context implementation helper class.

Directory Context的实现帮助类

CacheEntry

Implements a cache entry.

缓冲条目实现

Constants

Static constants for this package.

该包的静态常量

DirContextURLConnection

Connection to a JNDI directory context.

JNDI目录上下文连接

DirContextURLStreamHandler

Stream handler to a JNDI directory context.

JNDI目录上下文的流处理器。

DirContextURLStreamHandlerFactory

Factory for Stream handlers to a JNDI directory context.

JNDI目录上下文的流处理器工厂

FileDirContext

Filesystem Directory Context implementation helper class.

文件系统目录上下文的实现帮助类

ProxyDirContext

Proxy Directory Context implementation.

代理目录上下文实现

RecyclableNamingEnumeration

Naming enumeration implementation.

Naming枚举实现

Resource

Encapsultes the contents of a resource.

表示资源内容。

ResourceAttributes

Attributes implementation.

属性实现

ResourceCache

Implements a special purpose cache.

特殊目的的缓冲的实现

WARDirContext

WAR Directory Context implementation.

WAR目录上下文实现

org.apache.naming.resources.jndi 包

Class Summary
Handler

Stream handler to a JNDI directory context.

JNDI目录内容流处理器

org.apache.tomcat.util.buf包

Interface Summary
ByteChunk.ByteInputChannel

Input interface, used when the buffer is emptiy Same as java.nio.channel.ReadableByteChannel

输入接口,用于缓冲为空的时候,跟java.nio.channel.ReadableByteChannel相似

ByteChunk.ByteOutputChannel

Same as java.nio.channel.WrittableByteChannel.

跟java.nio.channel.WrittableByteChannel相似

CharChunk.CharInputChannel
CharChunk.CharOutputChannel

When we need more space we'll either grow the buffer ( up to the limit ) or send it to a channel.

当需要更多的空间的时候,或者增加缓冲,或者将其发送到线路中

Class Summary
Ascii

This class implements some basic ASCII character handling functions.

实现了ASCII字符处理函数

B2CConverter

Efficient conversion of bytes to character .

将字节码转换为字符

Base64

This class provides encode/decode for RFC 2045 Base64 as defined by RFC 2045, N.

该类提供了RFC2045的编码解码

ByteChunk

This class is used to represent a chunk of bytes, and utilities to manipulate byte[].

该类用于表示一对字节,也可用于处理byte数组

C2BConverter

Efficient conversion of character to bytes.

将字符转换为字节

CharChunk

Utilities to manipluate char chunks.

处理一堆字符的类

DateTool

Deprecated. Will be replaced with a more efficient impl, based on FastDateFormat, with an API using less objects.

过时

HexUtils

Library of utility methods useful in dealing with converting byte arrays to and from strings of hexadecimal digits.

处理字节码和十六进制字符串之间的转换、

MessageBytes

This class is used to represent a subarray of bytes in an HTTP message.

该类用于表示HTTP消息中的字节码子数组

MessageBytes.MessageBytesFactory
StringCache

This class implements a String cache for ByteChunk and CharChunk.

ByteChunk和CharChunk的字符串缓存。

StringCache.ByteEntry
StringCache.CharEntry
TimeStamp

Main tool for object expiry.

对象终结的主工具。

UDecoder

All URL decoding happens here.

所有的URL解析都用该类。

UEncoder

Efficient implementation for encoders.

解码器实现

UTF8Decoder

Moved from ByteChunk - code to convert from UTF8 bytes to chars.

将UTF8字节码转换为字符。

原文地址:https://www.cnblogs.com/macula7/p/1960496.html