net.CorsXmlHttpFactory Extends goog.net.XmlHttpFactory
A factory of XML http request objects that supports cross domain requests. This class should be instantiated and passed as the parameter of a goog.net.XhrIo constructor to allow cross-domain requests in every browser.

Inheritance

Constructor

goog.net.CorsXmlHttpFactory()

Instance Methods

Public Protected Private
createInstance()
No description.
code »
internalGetOptions()
No description.
code »
createInstance() !goog.net.XhrLike.OrNative
No description.
Returns: !goog.net.XhrLike.OrNative  A new XhrLike instance.
code »
getOptions() Object
No description.
Returns: Object  Options describing how xhr objects obtained from this factory should be used.
code »
internalGetOptions() Object
Override this method in subclasses to preserve the caching offered by getOptions().
Returns: Object  Options describing how xhr objects obtained from this factory should be used.
code »

Instance Properties

constructor :
No description.
Code »
cachedOptions_ :
Cache of options - we only actually call internalGetOptions once.
Code »

Static Properties

goog.net.CorsXmlHttpFactory.superClass_ :
No description.
Code »

Package net

Package Reference