ChannelBufferUsageTracker tracks the channel buffer used by outstanding requests.
The HTTP connection manager implements connection management in accordance with RFC 2616 § 8.
The HTTP connection manager implements connection management in accordance with RFC 2616 § 8. This is just the state machine: the codec implementations are in {Server,Client}ConnectionManager.
Client dispatcher for HTTP.
Client dispatcher for HTTP.
The dispatcher modifies each request with Dtab encoding and streams chunked
responses via Reader
.
Dtab serialization for Http.
Dtab serialization for Http. Dtabs are encoded into Http headers with keys x-dtab-$idx-(a|b) where $idx is a two-digit integer. These headers are encoded in pairs: 'a' and 'b' headers must exist for each index. Thus when header names are lexically sorted, Dtab entries are decoded pairwise. 'a' denoting prefix, 'b' destination.
Header values are base64-encoded ("standard" alphabet) Utf8 strings.
ChannelBufferUsageTracker tracks the channel buffer used by outstanding requests. An exception will be thrown if the total size exceeds a limit. ChannelBufferManager uses ChannelBufferUsageTracker.