Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsICachingChannel Interface Reference

import "nsICachingChannel.idl";

Inheritance diagram for nsICachingChannel:


List of all members.

Detailed Description

A channel may optionally implement this interface to allow clients to affect its behavior with respect to how it uses the cache service.

This interface provides: 1) Support for "stream as file" semantics (for JAR and plugins). 2) Support for "pinning" cached data in the cache (for printing and save-as). 3) Support for uniquely identifying cached data in cases when the URL is insufficient (e.g., HTTP form submission).

Definition at line 54 of file nsICachingChannel.idl.

Public Member Functions

boolean isFromCache ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

attribute boolean cacheAsFile
readonly attribute nsIFile cacheFile
attribute boolean cacheForOfflineUse
attribute nsISupports cacheKey
attribute nsISupports cacheToken
const unsigned long LOAD_BYPASS_LOCAL_CACHE = 1 << 28
const unsigned long LOAD_BYPASS_LOCAL_CACHE_IF_BUSY = 1 << 29
const unsigned long LOAD_CHECK_OFFLINE_CACHE = 1 << 27
const unsigned long LOAD_NO_NETWORK_IO = 1 << 26
const unsigned long LOAD_ONLY_FROM_CACHE = 1 << 30
const unsigned long LOAD_ONLY_IF_MODIFIED = 1 << 31
attribute ACString offlineCacheClientID
attribute nsISupports offlineCacheToken

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

Generated by  Doxygen 1.6.0   Back to index