net.DefaultXmlHttpFactory Extends goog.net.XmlHttpFactory
Default factory to use when creating xhr objects. You probably shouldn't be instantiating this directly, but rather using it via goog.net.XmlHttp.

Inheritance

Constructor

goog.net.DefaultXmlHttpFactory()

Instance Methods

Public Protected Private
createInstance()
No description.
code »
getProgId_()
Initialize the private state used by other functions.
Returns:   The ActiveX PROG ID string to use to create xhr's in IE.
code »
internalGetOptions()
No description.
code »
createInstance()
(GearsHttpRequest | XMLHttpRequest)
No description.
Returns: 
(GearsHttpRequest | XMLHttpRequest)
  A new XMLHttpRequest instance.
code »
getOptions()
(Object | null)
No description.
Returns: 
(Object | null)
  Options describing how xhr objects obtained from this factory should be used.
code »
internalGetOptions()
(Object | null)
Override this method in subclasses to preserve the caching offered by getOptions().
Returns: 
(Object | null)
  Options describing how xhr objects obtained from this factory should be used.
code »

Instance Properties

ieProgId_ :
(null | string)
The ActiveX PROG ID string to use to create xhr's in IE. Lazily initialized.
Code »
cachedOptions_ :
(Object | null)
Cache of options - we only actually call internalGetOptions once.
Code »

Package net

Package Reference