You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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.

nsHttpHandler

  • implements nsIProtocolHandler
  • manages preferences
  • owns the authentication cache
  • holds references to frequently used services
nsHttpChannel
  • implements nsIHttpChannel
  • talks to the cache
  • initiates http transactions
  • processes http response codes
  • intercepts progress notifications
nsHttpConnection nsHttpConnectionInfo
  • identifies a connection
nsHttpTransaction
  • implements nsIRequest
  • encapsulates a http request and response
  • parses incoming data
nsHttpChunkedDecoder
  • owned by a transaction
  • strips chunked transfer encoding
nsHttpRequestHead
  • owns a nsHttpHeaderArray
  • knows how to fill a request buffer
nsHttpResponseHead
  • owns a nsHttpHeaderArray
  • knows how to parse response lines
  • performs common header manipulations/calculations
nsHttpHeaderArray
  • stores http "<header>:<value>" pairs
nsHttpAuthCache
  • stores authentication credentials for http auth domains
nsHttpBasicAuth nsHttpDigestAuth