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

Class-Description

Transports requests to a server using an IFRAME.

This class should not be used directly by client programmers.


Inheritance

Parents: QxIframeTransport » QxCommonTransport » QxTarget » QxObject » Object

Parameters

No Parameters defined.

Type

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

Properties

NameTitle
QxCommonTransport
Public
The state of the current request
asynchronousSet the request to asynchronous
dataSet the data to be sent via this request
methodDetermines what type of request to issue
parametersRequest parameters to send.
passwordPassword to use for HTTP authentication
requestHeadersRequest headers
responseTypeResponse Type
urlTarget url to issue the request to
usernameUsername to use for HTTP authentication
QxObject
Public
enabled

Functions

NameTitle
QxIframeTransport
Public
dispose
getFetchedLengthReturns the length of the content as fetched thus far
getIframeBody
getIframeDocument
getIframeHtmlContent
getIframeTextContent
getIframeWindow
getResponseContent
getResponseHeader
getResponseHeadersProvides an hash of all response headers.
getStatusCodeReturns the current status code of the request if available or -1 if not.
getStatusTextProvides the status text for the current request if available and null otherwise.
send
setRequestHeader
Private
_onloadConverting complete state to numeric value and update state property
_onreadystatechangeConverting named readyState to numeric value and update state property
_switchReadyState
QxCommonTransport
Public
abort
failedForce the transport into the failed state (QxConst.REQUEST_STATE_FAILED).
getFetchedLengthReturns the length of the content as fetched thus far
getResponseHeader
getResponseHeadersProvides an hash of all response headers.
getResponseTextProvides the response text from the request when available and null otherwise.
getResponseXmlProvides the XML provided by the response if any and null otherwise.
getStatusCodeReturns the current status code of the request if available or -1 if not.
getStatusTextProvides the status text for the current request if available and null otherwise.
send
setRequestHeaderAdd a request header to this transports QxRequest.
timeout
Private
_modifyState
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.