Class IWXMLHttpRequest
Constructor Summary |
IWXMLHttpRequest()
This object replaces the XMLHttpRequest class.
possible.
|
Method Summary
|
void
|
abort()
Aborts the current request.
|
void
|
open(method, URL, asyncFlag)
Initializes the IWXMLHttpRequest object.
|
void
|
send(data)
Sends the request specified in the open() call.
|
IWXMLHttpRequest
IWXMLHttpRequest()
This object replaces the XMLHttpRequest class. Using this class instead of XMLHttpRequest makes cross domain requests
possible.
abort
void abort()
Aborts the current request.
open
void open(method, URL, asyncFlag)
Initializes the IWXMLHttpRequest object.
Parameters:
String method
- the HTTP method to be used. At the moment only GET is supported.
String URL
- the URL to resource that is requested.
boolean asyncFlag
- indicates if the request should be synchronous or asynchronous. This
parameter was included for XMLHttpRequest compatibility reasons. Only asynchronous requests are supported,
i.e. the flag must be set to true.
Throws:
SynchroniousCallsNotSupportedException
MethodNotSupportedException
send
void send(data)
Sends the request specified in the open() call.
Parameters:
String data
- the data to send
Source-Code Copyright 2007-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:15 GMT+0100 (MEZ)