Overview | System-Objects | Class-Tree | Class-List | Global Functions | Files |

Class-Description

This class is used to send HTTP requests to the server.

@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.


Inheritance

Parents: QxRequest » QxTarget » QxObject » Object

Parameters

NameTypeMandatoryInfo
vUrlAllfalse
vMethodAllfalse
vResponseTypeAllfalse

Type

This class is public.
It can be used by both user and programmer.

Properties

NameTitle
QxRequest
Public
asynchronousSet the request to asynchronous.
crossDomainIndicate that the request is cross domain.
dataSet the data to be sent via this request
passwordPassword to use for HTTP authentication. Null if HTTP authentication
prohibitCachingProhibit request from being cached.
timeoutNumber of millieseconds before the request is being timed out.
urlTarget url to issue the request to.
usernameUsername to use for HTTP authentication. Null if HTTP authentication
QxObject
Public
enabled

Functions

NameTitle
QxRequest
Public
abortAbort sending this request.
dispose
getParameterGet a parameter in the request.
getParametersReturns an object containg all parameters for the request.
getRequestHeader
getRequestHeaders
isAborted
isCompleted
isConfigured
isFailedReturn true if the request is in the failed state
isQueued
isReceiving
isSending
isTimeout
removeParameterRemove a parameter from the request.
removeRequestHeader
reset
sendSchedule this request for transport to server.
setParameterAdd a parameter to the request.
setRequestHeaderAdd a request header to the request.
Private
_modifyMethod
_modifyProhibitCaching
_modifyResponseType
_modifyState
_onaborted
_oncompleted
_onfailed
_onqueued
_onreceiving
_onsending
_ontimeout
QxTarget
Public
addEventListenerAdd event listener to object
createDispatchDataEventChecks if the event is registered. If so it creates a data event object and dispatch it.
createDispatchEventChecks if the event is registered. If so it creates a event object and dispatch it.
dispatchEventPublic dispatch implementation
dispose
getParentInternal placeholder for bubbling phase of an event.
hasEventListenersCheck if there are one or more listeners for an event type
removeEventListenerRemove event listener from object
Private
_dispatchEventInternal dispatch implementation
QxObject
Public
debugPrint out a debug message to the qooxdoo debug console.
disposeDispose this object
errorPrint out an error to the qooxdoo debug console.
get
getDisposedReturns true if the object is disposed.
getUserData
infoPrint out an info message info to the qooxdoo debug console.
isDisposedReturns true if the object is disposed.
setSets multiple properties at once by using a property list
setUserData
toHashCodeReturn unique hash code of object
toStringReturns a string represantation of the qooxdoo object.
warnPrint out an warning to the qooxdoo debug console.