Incomplete/NR
Class Overview
This document provides an overview of the classes used by the Mozilla HTTP implementation. It's meant as a guide to developers wishing to understand or extend the Mozilla HTTP implementation.nsHttpChannel
- implements nsIProtocolHandler
- manages preferences
- owns the authentication cache
- holds references to frequently used services
nsHttpConnection
- implements nsIHttpChannel
- talks to the cache
- initiates http transactions
- processes http response codes
- intercepts progress notifications
nsHttpConnectionInfo
- implements nsIStreamListener & nsIStreamProvider
- talks to the socket transport service
- feeds data to its transaction object
- routes progress notifications
nsHttpTransaction
- identifies a connection
nsHttpChunkedDecoder
- implements nsIRequest
- encapsulates a http request and response
- parses incoming data
nsHttpRequestHead
- owned by a transaction
- strips chunked transfer encoding
nsHttpResponseHead
- owns a nsHttpHeaderArray
- knows how to fill a request buffer
nsHttpHeaderArray
- owns a nsHttpHeaderArray
- knows how to parse response lines
- performs common header manipulations/calculations
nsHttpAuthCache
- stores http "<header>:<value>" pairs
nsHttpBasicAuth
- stores authentication credentials for http auth domains
nsHttpDigestAuth
- implements nsIHttpAuthenticator
- generates BASIC auth credentials from user:pass
- implements nsIHttpAuthenticator
- generates DIGEST auth credentials from user:pass