Logo Search packages:      
Sourcecode: xulrunner version File versions

nsIHttpChannel Interface Reference

import "nsIHttpChannel.idl";

Inheritance diagram for nsIHttpChannel:

nsIChannel nsIRequest nsISupports

List of all members.

Detailed Description


This interface allows for the modification of HTTP request parameters and the inspection of the resulting HTTP response status and headers when they become available.


Definition at line 54 of file nsIHttpChannel.idl.

Public Member Functions

void asyncOpen (in nsIStreamListener aListener, in nsISupports aContext)
void cancel (in nsresult aStatus)
ACString getRequestHeader (in ACString aHeader)
ACString getResponseHeader (in ACString header)
boolean isNoCacheResponse ()
boolean isNoStoreResponse ()
boolean isPending ()
nsIInputStream open ()
void resume ()
void setRequestHeader (in ACString aHeader, in ACString aValue, in boolean aMerge)
void setResponseHeader (in ACString header, in ACString value, in boolean merge)
void suspend ()
void visitRequestHeaders (in nsIHttpHeaderVisitor aVisitor)
void visitResponseHeaders (in nsIHttpHeaderVisitor aVisitor)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

attribute boolean allowPipelining
attribute ACString contentCharset
attribute long contentLength
attribute ACString contentType
const unsigned long INHIBIT_CACHING = 1 << 7
const unsigned long INHIBIT_PERSISTENT_CACHING = 1 << 8
const unsigned long LOAD_BACKGROUND = 1 << 0
const unsigned long LOAD_BYPASS_CACHE = 1 << 9
const unsigned long LOAD_CALL_CONTENT_SNIFFERS = 1 << 21
const unsigned long LOAD_DOCUMENT_URI = 1 << 16
const unsigned long LOAD_FROM_CACHE = 1 << 10
const unsigned long LOAD_INITIAL_DOCUMENT_URI = 1 << 19
const unsigned long LOAD_NORMAL = 0
const unsigned long LOAD_REPLACE = 1 << 18
const unsigned long LOAD_RETARGETED_DOCUMENT_URI = 1 << 17
const unsigned long LOAD_TARGETED = 1 << 20
attribute nsLoadFlags loadFlags
attribute nsILoadGroup loadGroup
readonly attribute AUTF8String name
attribute nsIInterfaceRequestor notificationCallbacks
attribute nsIURI originalURI
attribute nsISupports owner
attribute unsigned long redirectionLimit
attribute nsIURI referrer
attribute ACString requestMethod
readonly attribute boolean requestSucceeded
readonly attribute unsigned long responseStatus
readonly attribute ACString responseStatusText
readonly attribute nsISupports securityInfo
readonly attribute nsresult status
readonly attribute nsIURI URI
const unsigned long VALIDATE_ALWAYS = 1 << 11
const unsigned long VALIDATE_NEVER = 1 << 12
const unsigned long VALIDATE_ONCE_PER_SESSION = 1 << 13

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

Generated by  Doxygen 1.6.0   Back to index