java.lang.Objecttelosys.objects.ScreenActionsXHR
XHR requester dedicated for ScreenActions requests
( XMLHttpRequest wrapper class )
INTERNAL CLASS
Constructor Summary | |
ScreenActionsXHR(string url)
Creates a new XHR requester for ScreenActions requests |
Method Summary | |
string |
getRequest()
Returns the request content (request body) as an XML string |
ScreenResponse |
getResponse()
Returns the screen action response object |
void |
postAsync(string sContent,
function callback)
Send an "POST" HTTP request to the server in asynchronous mode |
void |
postAsync(string sContent,
function callback,
string sUrl)
|
void |
postSync(string sContent)
Send an "POST" HTTP request to the server in synchronous mode |
void |
postSync(string sContent,
string sUrl)
Send an "POST" HTTP request to the server in synchronous mode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScreenActionsXHR(string url)
url
- : the default URL where to send the requestsMethod Detail |
public string getRequest()
public ScreenResponse getResponse()
public void postSync(string sContent)
sContent
- public void postSync(string sContent, string sUrl)
sContent
- sUrl
- : the URL where to send the requestpublic void postAsync(string sContent, function callback)
sContent
- callback
- : the callback function ( cannot be null )public void postAsync(string sContent, function callback, string sUrl)
sContent
- callback
- : the callback function ( cannot be null )sUrl
-