Class goog.net.WrapperXmlHttpFactory
code »goog.net.XmlHttpFactory
└ goog.net.WrapperXmlHttpFactory
An xhr factory subclass which can be constructed using two factory methods. This exists partly to allow the preservation of goog.net.XmlHttp.setFactory() with an unchanged signature.
Constructor
goog.net.WrapperXmlHttpFactory ( xhrFactory, optionsFactory )
Parameters |
---|
|
Show:
Instance Methods
Defined in goog.net.WrapperXmlHttpFactory
code »createInstance ( ) ⇒ (GearsHttpRequest|XMLHttpRequest)
(GearsHttpRequest|XMLHttpRequest)
code »getOptions ( ) ⇒ (Object|null)
(Object|null)
code »optionsFactory_ ( ) ⇒ Object
Options factory method.
Object
code »xhrFactory_ ( ) ⇒ (GearsHttpRequest|XMLHttpRequest)
XHR factory method.
(GearsHttpRequest|XMLHttpRequest)
Defined in goog.net.XmlHttpFactory
Override this method in subclasses to preserve the caching offered by
getOptions().
Returns |
---|
|