WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/uriloader;1

This component implements the following interfaces:

Constants

Should the content be displayed in a container that prefers the content-type, or will any container do.
PRUint32 nsIURILoader.IS_CONTENT_PREFERRED = 1
If this flag is set, only the listener of the specified window context will be considered for content handling; if it refuses the load, an error will be indicated.
PRUint32 nsIURILoader.DONT_RETARGET = 2

Methods

InterfaceMethod
nsIURILoader nsIStreamListener openChannel ( nsIChannel channel , PRUint32 flags , nsIInterfaceRequestor windowContext )
nsIURILoader void openURI ( nsIChannel channel , PRBool isContentPreferred , nsIInterfaceRequestor windowContext )
nsIURILoader void registerContentListener ( nsIURIContentListener contentListener )
nsIURILoader void stop ( nsISupports loadCookie )
nsIURILoader void unRegisterContentListener ( nsIURIContentListener contentListener )

Reference documentation is generated from Mozilla's source.