Protocol Handlers

A protocol handler can be retrieved using the nsIIOService interface. It provides additional information about a protocol (URI scheme).

Jump to:

nsIExternalProtocolHandler
nsIExternalProtocolService
nsIFileProtocolHandler
nsIHttpProtocolHandler
nsIJARProtocolHandler
nsIProtocolHandler
nsIProxiedProtocolHandler
nsIResProtocolHandler

Components

The following components each handle a single URL scheme supported by Mozilla, for example 'http' or 'file'.

@mozilla.org/network/protocol;1?name=about
@mozilla.org/network/protocol;1?name=addbook
@mozilla.org/network/protocol;1?name=chrome
@mozilla.org/network/protocol;1?name=cid
@mozilla.org/network/protocol;1?name=data
@mozilla.org/network/protocol;1?name=default
@mozilla.org/network/protocol;1?name=default-blocked
@mozilla.org/network/protocol;1?name=file
@mozilla.org/network/protocol;1?name=ftp
@mozilla.org/network/protocol;1?name=gopher
@mozilla.org/network/protocol;1?name=http
@mozilla.org/network/protocol;1?name=https
@mozilla.org/network/protocol;1?name=imap
@mozilla.org/network/protocol;1?name=irc
@mozilla.org/network/protocol;1?name=jar
@mozilla.org/network/protocol;1?name=javascript
@mozilla.org/network/protocol;1?name=keyword
@mozilla.org/network/protocol;1?name=mailbox
@mozilla.org/network/protocol;1?name=mailto
@mozilla.org/network/protocol;1?name=moz-bitmap
@mozilla.org/network/protocol;1?name=news
@mozilla.org/network/protocol;1?name=nntp
@mozilla.org/network/protocol;1?name=pop
@mozilla.org/network/protocol;1?name=resource
@mozilla.org/network/protocol;1?name=snews
@mozilla.org/network/protocol;1?name=view-source
@mozilla.org/network/protocol;1?name=wyciwyg
@mozilla.org/network/protocol;1?name=x-jsd

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com