Visit Mozilla.org

HTTP Class Overview

From MDC

Warning sign
Warning: The content of this article may be out of date. It was last updated in 2002.


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.

Contents

[edit] nsHttpHandler

  • implements nsIProtocolHandler
  • manages preferences
  • owns the authentication cache
  • holds references to frequently used services

[edit] nsHttpChannel

  • implements nsIHttpChannel
  • talks to the cache
  • initiates http transactions
  • processes http response codes
  • intercepts progress notifications

[edit] nsHttpConnection

[edit] nsHttpConnectionInfo

  • identifies a connection

[edit] nsHttpTransaction

  • implements nsIRequest
  • encapsulates a http request and response
  • parses incoming data

[edit] nsHttpChunkedDecoder

  • owned by a transaction
  • strips chunked transfer encoding

[edit] nsHttpRequestHead

  • owns a nsHttpHeaderArray
  • knows how to fill a request buffer

[edit] nsHttpResponseHead

  • owns a nsHttpHeaderArray
  • knows how to parse response lines
  • performs common header manipulations/calculations

[edit] nsHttpHeaderArray

  • stores http "<header>:<value>" pairs

[edit] nsHttpAuthCache

  • stores authentication credentials for http auth domains

[edit] nsHttpBasicAuth

[edit] nsHttpDigestAuth

[edit] Original Document Information

  • Author(s): Darin Fisher
  • Last Updated Date: August 5, 2002
  • Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | Details.