Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIIOService Interface Reference

import "nsIIOService.idl";

Inheritance diagram for nsIIOService:

nsISupports nsIIOService2

List of all members.

Detailed Description

nsIIOService provides a set of network utility functions. This interface duplicates many of the nsIProtocolHandler methods in a protocol handler independent way (e.g., NewURI inspects the scheme in order to delegate creation of the new URI to the appropriate protocol handler). nsIIOService also provides a set of URL parsing utility functions. These are provided as a convenience to the programmer and in some cases to improve performance by eliminating intermediate data structures and interfaces.


Definition at line 57 of file nsIIOService.idl.

Public Member Functions

boolean allowPort (in long aPort, in string aScheme)
ACString extractScheme (in AUTF8String urlString)
unsigned long getProtocolFlags (in string aScheme)
nsIProtocolHandler getProtocolHandler (in string aScheme)
nsIChannel newChannel (in AUTF8String aSpec, in string aOriginCharset, in nsIURI aBaseURI)
nsIChannel newChannelFromURI (in nsIURI aURI)
nsIURI newFileURI (in nsIFile aFile)
nsIURI newURI (in AUTF8String aSpec, in string aOriginCharset, in nsIURI aBaseURI)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

attribute boolean offline

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index