@param vUrl Target url to issue the request to. @param vMethod Determines what type of request to issue (GET or POST). Default is GET. @param vResponseType The mime type of the response. Default is text/plain.
Parents: QxRequest » QxTarget » QxObject » Object
Name | Type | Mandatory | Info |
---|---|---|---|
vUrl | All | false | |
vMethod | All | false | |
vResponseType | All | false |
This class is public.
It can be used by both user and programmer.
Name | Title |
---|---|
QxRequest | |
Public | |
asynchronous | Set the request to asynchronous. |
crossDomain | Indicate that the request is cross domain. |
data | Set the data to be sent via this request |
password | Password to use for HTTP authentication. Null if HTTP authentication |
prohibitCaching | Prohibit request from being cached. |
timeout | Number of millieseconds before the request is being timed out. |
url | Target url to issue the request to. |
username | Username to use for HTTP authentication. Null if HTTP authentication |
QxObject | |
Public | |
enabled |
Name | Title |
---|---|
QxRequest | |
Public | |
abort | Abort sending this request. |
dispose | |
getParameter | Get a parameter in the request. |
getParameters | Returns an object containg all parameters for the request. |
getRequestHeader | |
getRequestHeaders | |
isAborted | |
isCompleted | |
isConfigured | |
isFailed | Return true if the request is in the failed state |
isQueued | |
isReceiving | |
isSending | |
isTimeout | |
removeParameter | Remove a parameter from the request. |
removeRequestHeader | |
reset | |
send | Schedule this request for transport to server. |
setParameter | Add a parameter to the request. |
setRequestHeader | Add a request header to the request. |
Private | |
_modifyMethod | |
_modifyProhibitCaching | |
_modifyResponseType | |
_modifyState | |
_onaborted | |
_oncompleted | |
_onfailed | |
_onqueued | |
_onreceiving | |
_onsending | |
_ontimeout | |
QxTarget | |
Public | |
addEventListener | Add event listener to object |
createDispatchDataEvent | Checks if the event is registered. If so it creates a data event object and dispatch it. |
createDispatchEvent | Checks if the event is registered. If so it creates a event object and dispatch it. |
dispatchEvent | Public dispatch implementation |
dispose | |
getParent | Internal placeholder for bubbling phase of an event. |
hasEventListeners | Check if there are one or more listeners for an event type |
removeEventListener | Remove event listener from object |
Private | |
_dispatchEvent | Internal dispatch implementation |
QxObject | |
Public | |
debug | Print out a debug message to the qooxdoo debug console. |
dispose | Dispose this object |
error | Print out an error to the qooxdoo debug console. |
get | |
getDisposed | Returns true if the object is disposed. |
getUserData | |
info | Print out an info message info to the qooxdoo debug console. |
isDisposed | Returns true if the object is disposed. |
set | Sets multiple properties at once by using a property list |
setUserData | |
toHashCode | Return unique hash code of object |
toString | Returns a string represantation of the qooxdoo object. |
warn | Print out an warning to the qooxdoo debug console. |