cocos2d-x  3.0Beta0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MinXmlHttpRequest Class Reference

#include <XMLHTTPRequest.h>

Inheritance diagram for MinXmlHttpRequest:
Object

Public Types

enum  ResponseType {
  STRING, ARRAY_BUFFER, BLOB, DOCUMENT,
  JSON
}
 

Public Member Functions

 MinXmlHttpRequest ()
 MinXmlHttpRequest ()
 MinXmlHttpRequest ()
 ~MinXmlHttpRequest ()
 ~MinXmlHttpRequest ()
 ~MinXmlHttpRequest ()
 JS_BINDED_CLASS_GLUE (MinXmlHttpRequest)
 JS_BINDED_CONSTRUCTOR (MinXmlHttpRequest)
 JS_BINDED_CONSTRUCTOR ( var MinXmlHttpRequest)
 JS_BINDED_CONSTRUCTOR ( local MinXmlHttpRequest)
 JS_BINDED_PROP_ACCESSOR (MinXmlHttpRequest, onreadystatechange)
 JS_BINDED_PROP_ACCESSOR (MinXmlHttpRequest, responseType)
 JS_BINDED_PROP_ACCESSOR ( var MinXmlHttpRequest, var responseType)
 JS_BINDED_PROP_ACCESSOR ( local MinXmlHttpRequest, local responseType)
 JS_BINDED_PROP_ACCESSOR (MinXmlHttpRequest, withCredentials)
 JS_BINDED_PROP_ACCESSOR ( var MinXmlHttpRequest, var withCredentials)
 JS_BINDED_PROP_ACCESSOR ( local MinXmlHttpRequest, local withCredentials)
 JS_BINDED_PROP_ACCESSOR (MinXmlHttpRequest, upload)
 JS_BINDED_PROP_ACCESSOR ( local MinXmlHttpRequest, local upload)
 JS_BINDED_PROP_ACCESSOR (MinXmlHttpRequest, timeout)
 JS_BINDED_PROP_ACCESSOR ( var MinXmlHttpRequest, var timeout)
 JS_BINDED_PROP_ACCESSOR ( local MinXmlHttpRequest, local timeout)
 JS_BINDED_PROP_GET (MinXmlHttpRequest, readyState)
 JS_BINDED_PROP_GET ( var MinXmlHttpRequest, var readyState)
 JS_BINDED_PROP_GET ( local MinXmlHttpRequest, local readyState)
 JS_BINDED_PROP_GET (MinXmlHttpRequest, status)
 JS_BINDED_PROP_GET ( var MinXmlHttpRequest, var status)
 JS_BINDED_PROP_GET ( local MinXmlHttpRequest, local status)
 JS_BINDED_PROP_GET (MinXmlHttpRequest, statusText)
 JS_BINDED_PROP_GET ( var MinXmlHttpRequest, var statusText)
 JS_BINDED_PROP_GET ( local MinXmlHttpRequest, local statusText)
 JS_BINDED_PROP_GET (MinXmlHttpRequest, responseText)
 JS_BINDED_PROP_GET ( var MinXmlHttpRequest, var responseText)
 JS_BINDED_PROP_GET ( local MinXmlHttpRequest, local responseText)
 JS_BINDED_PROP_GET (MinXmlHttpRequest, response)
 JS_BINDED_PROP_GET ( var MinXmlHttpRequest, var response)
 JS_BINDED_PROP_GET ( local MinXmlHttpRequest, local response)
 JS_BINDED_PROP_GET (MinXmlHttpRequest, responseXML)
 JS_BINDED_PROP_GET ( var MinXmlHttpRequest, var responseXML)
 JS_BINDED_PROP_GET ( local MinXmlHttpRequest, local responseXML)
 JS_BINDED_FUNC (MinXmlHttpRequest, open)
 JS_BINDED_FUNC ( var MinXmlHttpRequest, var open)
 JS_BINDED_FUNC ( local MinXmlHttpRequest, local open)
 JS_BINDED_FUNC (MinXmlHttpRequest, send)
 JS_BINDED_FUNC ( var MinXmlHttpRequest, var send)
 JS_BINDED_FUNC ( local MinXmlHttpRequest, local send)
 JS_BINDED_FUNC (MinXmlHttpRequest, abort)
 JS_BINDED_FUNC ( var MinXmlHttpRequest, var abort)
 JS_BINDED_FUNC ( local MinXmlHttpRequest, local abort)
 JS_BINDED_FUNC (MinXmlHttpRequest, getAllResponseHeaders)
 JS_BINDED_FUNC (MinXmlHttpRequest, getResponseHeader)
 JS_BINDED_FUNC (MinXmlHttpRequest, setRequestHeader)
 JS_BINDED_FUNC (MinXmlHttpRequest, overrideMimeType)
void handle_requestResponse (cocos2d::network::HttpClient *sender, cocos2d::network::HttpResponse *response)
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
local retainCount ()
 Returns the object's current reference count. More...
 
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)
virtual void update (float dt)

Static Public Attributes

static const unsigned short UNSENT = 0
var UNSENT = 0
local UNSENT = 0
static const unsigned short OPENED = 1
var OPENED = 1
local OPENED = 1
static const unsigned short HEADERS_RECEIVED = 2
var HEADERS_RECEIVED = 2
local HEADERS_RECEIVED = 2
static const unsigned short LOADING = 3
var LOADING = 3
local LOADING = 3
static const unsigned short DONE = 4
var DONE = 4
local DONE = 4

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
var _luaID
 Lua reference id. More...
 
local _luaID
 Lua reference id. More...
 
- Protected Attributes inherited from Object
unsigned int _reference
 count of references More...
 
var _reference
 count of references More...
 
local _reference
 count of references More...
 
unsigned int _autoReleaseCount
 count of autorelease More...
 
var _autoReleaseCount
 count of autorelease More...
 
local _autoReleaseCount
 count of autorelease More...
 

Member Enumeration Documentation

enum ResponseType
strong
Enumerator
STRING 
ARRAY_BUFFER 
BLOB 
DOCUMENT 
JSON 
var ResponseType
strong
Enumerator
STRING 
ARRAY_BUFFER 
BLOB 
DOCUMENT 
JSON 
local ResponseType
strong
Enumerator
STRING 
ARRAY_BUFFER 
BLOB 
DOCUMENT 
JSON 

Constructor & Destructor Documentation

local MinXmlHttpRequest ( )
local ~MinXmlHttpRequest ( )

Member Function Documentation

void handle_requestResponse ( cocos2d::network::HttpClient sender,
cocos2d::network::HttpResponse response 
)
var handle_requestResponse ( var  sender,
var  response 
)
local handle_requestResponse ( local  sender,
local  response 
)
JS_BINDED_CLASS_GLUE ( MinXmlHttpRequest  )
var JS_BINDED_CLASS_GLUE ( var  )
local JS_BINDED_CLASS_GLUE ( local  )
JS_BINDED_CONSTRUCTOR ( MinXmlHttpRequest  )
var JS_BINDED_CONSTRUCTOR ( var  )
local JS_BINDED_CONSTRUCTOR ( local  )
JS_BINDED_FUNC ( MinXmlHttpRequest  ,
open   
)
var JS_BINDED_FUNC ( var  ,
var   
)
local JS_BINDED_FUNC ( local  ,
local   
)
JS_BINDED_FUNC ( MinXmlHttpRequest  ,
send   
)
var JS_BINDED_FUNC ( var  ,
var   
)
local JS_BINDED_FUNC ( local  ,
local   
)
JS_BINDED_FUNC ( MinXmlHttpRequest  ,
abort   
)
var JS_BINDED_FUNC ( var  ,
var   
)
local JS_BINDED_FUNC ( local  ,
local   
)
JS_BINDED_FUNC ( MinXmlHttpRequest  ,
getAllResponseHeaders   
)
var JS_BINDED_FUNC ( var  ,
var   
)
local JS_BINDED_FUNC ( local  ,
local   
)
JS_BINDED_FUNC ( MinXmlHttpRequest  ,
getResponseHeader   
)
var JS_BINDED_FUNC ( var  ,
var   
)
local JS_BINDED_FUNC ( local  ,
local   
)
JS_BINDED_FUNC ( MinXmlHttpRequest  ,
setRequestHeader   
)
var JS_BINDED_FUNC ( var  ,
var   
)
local JS_BINDED_FUNC ( local  ,
local   
)
JS_BINDED_FUNC ( MinXmlHttpRequest  ,
overrideMimeType   
)
var JS_BINDED_FUNC ( var  ,
var   
)
local JS_BINDED_FUNC ( local  ,
local   
)
JS_BINDED_PROP_ACCESSOR ( MinXmlHttpRequest  ,
onreadystatechange   
)
var JS_BINDED_PROP_ACCESSOR ( var  ,
var   
)
local JS_BINDED_PROP_ACCESSOR ( local  ,
local   
)
JS_BINDED_PROP_ACCESSOR ( MinXmlHttpRequest  ,
responseType   
)
var JS_BINDED_PROP_ACCESSOR ( var  ,
var   
)
local JS_BINDED_PROP_ACCESSOR ( local  ,
local   
)
JS_BINDED_PROP_ACCESSOR ( MinXmlHttpRequest  ,
withCredentials   
)
var JS_BINDED_PROP_ACCESSOR ( var  ,
var   
)
local JS_BINDED_PROP_ACCESSOR ( local  ,
local   
)
JS_BINDED_PROP_ACCESSOR ( MinXmlHttpRequest  ,
upload   
)
var JS_BINDED_PROP_ACCESSOR ( var  ,
var   
)
local JS_BINDED_PROP_ACCESSOR ( local  ,
local   
)
JS_BINDED_PROP_ACCESSOR ( MinXmlHttpRequest  ,
timeout   
)
var JS_BINDED_PROP_ACCESSOR ( var  ,
var   
)
local JS_BINDED_PROP_ACCESSOR ( local  ,
local   
)
JS_BINDED_PROP_GET ( MinXmlHttpRequest  ,
readyState   
)
var JS_BINDED_PROP_GET ( var  ,
var   
)
local JS_BINDED_PROP_GET ( local  ,
local   
)
JS_BINDED_PROP_GET ( MinXmlHttpRequest  ,
status   
)
var JS_BINDED_PROP_GET ( var  ,
var   
)
local JS_BINDED_PROP_GET ( local  ,
local   
)
JS_BINDED_PROP_GET ( MinXmlHttpRequest  ,
statusText   
)
var JS_BINDED_PROP_GET ( var  ,
var   
)
local JS_BINDED_PROP_GET ( local  ,
local   
)
JS_BINDED_PROP_GET ( MinXmlHttpRequest  ,
responseText   
)
var JS_BINDED_PROP_GET ( var  ,
var   
)
local JS_BINDED_PROP_GET ( local  ,
local   
)
JS_BINDED_PROP_GET ( MinXmlHttpRequest  ,
response   
)
var JS_BINDED_PROP_GET ( var  ,
var   
)
local JS_BINDED_PROP_GET ( local  ,
local   
)
JS_BINDED_PROP_GET ( MinXmlHttpRequest  ,
responseXML   
)
var JS_BINDED_PROP_GET ( var  ,
var   
)
local JS_BINDED_PROP_GET ( local  ,
local   
)

Member Data Documentation

const unsigned short DONE = 4
static
var DONE = 4
static
local DONE = 4
static
const unsigned short
HEADERS_RECEIVED = 2
static
var HEADERS_RECEIVED = 2
static
local HEADERS_RECEIVED = 2
static
const unsigned short LOADING = 3
static
var LOADING = 3
static
local LOADING = 3
static
const unsigned short OPENED = 1
static
var OPENED = 1
static
local OPENED = 1
static
const unsigned short UNSENT = 0
static
var UNSENT = 0
static
local UNSENT = 0
static

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