ReactOS 0.4.15-dev-7958-gcd0bb1a
nsIProtocolHandler Interface Reference
Inheritance diagram for nsIProtocolHandler:
Collaboration diagram for nsIProtocolHandler:

Public Member Functions

nsresult GetScheme (nsACString *aScheme)
 
nsresult GetDefaultPort (int32_t *aDefaultPort)
 
nsresult GetProtocolFlags (uint32_t *aProtocolFlags)
 
nsresult NewURI (const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI, nsIURI **_retval)
 
nsresult NewChannel2 (nsIURI *aURI, nsILoadInfo *aLoadinfo, nsIChannel **_retval)
 
nsresult NewChannel (nsIURI *aURI, nsIChannel **_retval)
 
nsresult AllowPort (int32_t port, const char *scheme, bool *_retval)
 
- Public Member Functions inherited from nsISupports
nsresult QueryInterface (nsIIDRef riid, void **result)
 
nsrefcnt AddRef ()
 
nsrefcnt Release ()
 

Public Attributes

const unsigned long URI_STD = 0
 
const unsigned long URI_NORELATIVE = (1<<0)
 
const unsigned long URI_NOAUTH = (1<<1)
 
const unsigned long ALLOWS_PROXY = (1<<2)
 
const unsigned long ALLOWS_PROXY_HTTP = (1<<3)
 
const unsigned long URI_INHERITS_SECURITY_CONTEXT = (1<<4)
 
const unsigned long URI_FORBIDS_AUTOMATIC_DOCUMENT_REPLACEMENT = (1<<5)
 
const unsigned long URI_LOADABLE_BY_ANYONE = (1<<6)
 
const unsigned long URI_DANGEROUS_TO_LOAD = (1<<7)
 
const unsigned long URI_IS_UI_RESOURCE = (1<<8)
 
const unsigned long URI_IS_LOCAL_FILE = (1<<9)
 
const unsigned long URI_LOADABLE_BY_SUBSUMERS = (1<<10)
 
const unsigned long URI_DOES_NOT_RETURN_DATA = (1<<11)
 
const unsigned long URI_IS_LOCAL_RESOURCE = (1<<12)
 
const unsigned long URI_OPENING_EXECUTES_SCRIPT = (1<<13)
 
const unsigned long URI_NON_PERSISTABLE = (1<<14)
 
const unsigned long URI_FORBIDS_COOKIE_ACCESS = (1<<15)
 
const unsigned long URI_CROSS_ORIGIN_NEEDS_WEBAPPS_PERM = (1<<16)
 
const unsigned long URI_SYNC_LOAD_IS_OK = (1<<17)
 
const unsigned long URI_SAFE_TO_LOAD_IN_SECURE_CONTEXT = (1<<18)
 

Detailed Description

Definition at line 2749 of file nsiface.idl.

Member Function Documentation

◆ AllowPort()

nsresult nsIProtocolHandler::AllowPort ( int32_t  port,
const char scheme,
bool _retval 
)

◆ GetDefaultPort()

nsresult nsIProtocolHandler::GetDefaultPort ( int32_t aDefaultPort)

◆ GetProtocolFlags()

nsresult nsIProtocolHandler::GetProtocolFlags ( uint32_t aProtocolFlags)

◆ GetScheme()

nsresult nsIProtocolHandler::GetScheme ( nsACString aScheme)

◆ NewChannel()

nsresult nsIProtocolHandler::NewChannel ( nsIURI aURI,
nsIChannel **  _retval 
)

◆ NewChannel2()

nsresult nsIProtocolHandler::NewChannel2 ( nsIURI aURI,
nsILoadInfo aLoadinfo,
nsIChannel **  _retval 
)

◆ NewURI()

nsresult nsIProtocolHandler::NewURI ( const nsACString aSpec,
const char aOriginCharset,
nsIURI aBaseURI,
nsIURI **  _retval 
)

Member Data Documentation

◆ ALLOWS_PROXY

const unsigned long nsIProtocolHandler::ALLOWS_PROXY = (1<<2)

Definition at line 2754 of file nsiface.idl.

◆ ALLOWS_PROXY_HTTP

const unsigned long nsIProtocolHandler::ALLOWS_PROXY_HTTP = (1<<3)

Definition at line 2755 of file nsiface.idl.

◆ URI_CROSS_ORIGIN_NEEDS_WEBAPPS_PERM

const unsigned long nsIProtocolHandler::URI_CROSS_ORIGIN_NEEDS_WEBAPPS_PERM = (1<<16)

Definition at line 2768 of file nsiface.idl.

◆ URI_DANGEROUS_TO_LOAD

const unsigned long nsIProtocolHandler::URI_DANGEROUS_TO_LOAD = (1<<7)

Definition at line 2759 of file nsiface.idl.

◆ URI_DOES_NOT_RETURN_DATA

const unsigned long nsIProtocolHandler::URI_DOES_NOT_RETURN_DATA = (1<<11)

Definition at line 2763 of file nsiface.idl.

◆ URI_FORBIDS_AUTOMATIC_DOCUMENT_REPLACEMENT

const unsigned long nsIProtocolHandler::URI_FORBIDS_AUTOMATIC_DOCUMENT_REPLACEMENT = (1<<5)

Definition at line 2757 of file nsiface.idl.

◆ URI_FORBIDS_COOKIE_ACCESS

const unsigned long nsIProtocolHandler::URI_FORBIDS_COOKIE_ACCESS = (1<<15)

Definition at line 2767 of file nsiface.idl.

◆ URI_INHERITS_SECURITY_CONTEXT

const unsigned long nsIProtocolHandler::URI_INHERITS_SECURITY_CONTEXT = (1<<4)

Definition at line 2756 of file nsiface.idl.

◆ URI_IS_LOCAL_FILE

const unsigned long nsIProtocolHandler::URI_IS_LOCAL_FILE = (1<<9)

Definition at line 2761 of file nsiface.idl.

◆ URI_IS_LOCAL_RESOURCE

const unsigned long nsIProtocolHandler::URI_IS_LOCAL_RESOURCE = (1<<12)

Definition at line 2764 of file nsiface.idl.

◆ URI_IS_UI_RESOURCE

const unsigned long nsIProtocolHandler::URI_IS_UI_RESOURCE = (1<<8)

Definition at line 2760 of file nsiface.idl.

◆ URI_LOADABLE_BY_ANYONE

const unsigned long nsIProtocolHandler::URI_LOADABLE_BY_ANYONE = (1<<6)

Definition at line 2758 of file nsiface.idl.

◆ URI_LOADABLE_BY_SUBSUMERS

const unsigned long nsIProtocolHandler::URI_LOADABLE_BY_SUBSUMERS = (1<<10)

Definition at line 2762 of file nsiface.idl.

◆ URI_NOAUTH

const unsigned long nsIProtocolHandler::URI_NOAUTH = (1<<1)

Definition at line 2753 of file nsiface.idl.

◆ URI_NON_PERSISTABLE

const unsigned long nsIProtocolHandler::URI_NON_PERSISTABLE = (1<<14)

Definition at line 2766 of file nsiface.idl.

◆ URI_NORELATIVE

const unsigned long nsIProtocolHandler::URI_NORELATIVE = (1<<0)

Definition at line 2752 of file nsiface.idl.

◆ URI_OPENING_EXECUTES_SCRIPT

const unsigned long nsIProtocolHandler::URI_OPENING_EXECUTES_SCRIPT = (1<<13)

Definition at line 2765 of file nsiface.idl.

◆ URI_SAFE_TO_LOAD_IN_SECURE_CONTEXT

const unsigned long nsIProtocolHandler::URI_SAFE_TO_LOAD_IN_SECURE_CONTEXT = (1<<18)

Definition at line 2770 of file nsiface.idl.

◆ URI_STD

const unsigned long nsIProtocolHandler::URI_STD = 0

Definition at line 2751 of file nsiface.idl.

◆ URI_SYNC_LOAD_IS_OK

const unsigned long nsIProtocolHandler::URI_SYNC_LOAD_IS_OK = (1<<17)

Definition at line 2769 of file nsiface.idl.


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