Page History
Divcache | ||
---|---|---|
| DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
...
id | description |
---|
...
padding | 0px |
---|---|
width | 80px |
...
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
Table Body (tbody) | ||||||
---|---|---|---|---|---|---|
|
...
Table Cell (td) |
---|
void |
...
| |||||||||||||
...
...
...
...
...
...
Table Cell (td) |
---|
Response |
...
...
Table Cell (td) |
---|
Response |
...
...
Table Cell (td) |
---|
Response |
...
HTML Table | |||||
---|---|---|---|---|---|
| |||||
Colgroup Tag | Column | | |||
|
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
id | addHeader-String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
addHeader |
...
id | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Table Row (tr) | ||||||||||||||
Table Cell (td) | ||||||||||||||
Div | class | id | ||||||||||||
Table Cell (td) | ||||||||||||||
Div | ||||||||||||||
Table Row (tr) | ||||||||||||||
| ||||||||||||||
{String} headerName {String} value | ||||||||||||||
Boolean | ||||||||||||||
Table Row (tr) | ||||||||||||||
| ||||||||||||||
Table Row (tr) | ||||||||||||||
| ||||||||||||||
Table Cell (td) | ||||||||||||||
Table Body (tbody) | ||||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
void |
Span | ||
---|---|---|
| ||
executeAsyncRequest |
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
executeAsyncRequest(username, password, workstation, domain, successCallbackMethod, errorCallbackMethod)
Execute the request method asynchronous. Success callback method will be called when response is received.
Response is sent as parameter in callback.
This Response can be a response with a different status code then just 200, it could also be 500, which is still a valid response from the server, this won't go into the error callback.
So you need to test the Reponse.getStatusCode() for that to know if everything did go OK.
If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Parameters
Supported Clients
Sample
executeAsyncRequest(username, password, workstation, domain, successCallbackMethod, errorCallbackMethod, callbackExtraArgs)
Execute the request method asynchronous using windows authentication. Success callback method will be called when response is received. Response is sent as parameter in callback followed by any 'callbackExtraArgs' that were given. This Response can be a response with a different status code then just 200, it could also be 500, which is still a valid response from the server, this won't go into the error callback. So you need to test the Reponse.getStatusCode() for that to know if everything did go OK. If no response is received (request errors out, network errors), the errorCallbackMethod is called with exception message as parameter
id | prs |
---|
class | sIndent |
---|
{String} password – the password
{String} workstation –
followed by any 'callbackExtraArgs' that were given.
Parameters
{String}
{Function}
{Function}
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | executeAsyncRequest-String_String_Function_Function |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
void |
Span | ||
---|---|---|
| ||
executeAsyncRequest |
Supported Clients
Sample
executeAsyncRequest(username, password, successCallbackMethod, errorCallbackMethod)
Execute the request method asynchronous. Success callback method will be called when response is received.
Response is sent as parameter in callback.
This Response can be a response with a different status code then just 200, it could also be 500, which is still a valid response from the server, this won't go into the error callback.
So you need to test the Reponse.getStatusCode() for that to know if everything did go OK.
If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Parameters
Supported Clients
Sample
executeAsyncRequest(username, password, successCallbackMethod, errorCallbackMethod, callbackExtraArgs)
Execute the request method asynchronous using windows authentication. Success callback method will be called when response is received. Response is sent as parameter in callback followed by any 'callbackExtraArgs' that were given. This Response can be a response with a different status code then just 200, it could also be 500, which is still a valid response from the server, this won't go into the error callback. So you need to test the Reponse.getStatusCode() for that to know if everything did go OK. If no response is received (request errors out, network errors), the errorCallbackMethod is called with exception message as parameter
id | prs |
---|
class | sIndent |
---|
{String} password – the password
{Function} successCallbackMethod –
followed by any 'callbackExtraArgs' that were given.
Parameters
{Function}
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | executeAsyncRequest-Function_Function |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | prs |
---|
class | sIndent |
---|
Supported Clients
Sample
executeAsyncRequest(successCallbackMethod, errorCallbackMethod)
Execute the request method asynchronous. Success callback method will be called when response is received.
Response is sent as parameter in callback.
This Response can be a response with a different status code then just 200, it could also be 500, which is still a valid response from the server, this won't go into the error callback.
So you need to test the Reponse.getStatusCode() for that to know if everything did go OK.
If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Parameters
Supported Clients
Sample
executeAsyncRequest(successCallbackMethod, errorCallbackMethod, callbackExtraArgs)
Execute the request method asynchronous using windows authentication.
Success callback method will be called when response is received. Response is sent as parameter in callback followed by any 'callbackExtraArgs' that were given.
This Response can be a response with a different status code then just 200, it could also be 500, which is still a valid response from the server, this won't go into the error callback.
So you need to test the Reponse.getStatusCode() for that to know if everything did go OK.
If no response is received (request errors out, network errors), the errorCallbackMethod is called with exception message as parameter followed by any 'callbackExtraArgs' that were given.
Parameters
{Function}
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | executeRequest |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | executeRequest-String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | executeRequest-String_String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
Response |
Span | ||
---|---|---|
| ||
executeRequest |
Supported Clients
Sample
executeRequest()
Execute the request method.
Returns
Supported Clients
Sample
executeRequest(userName, password)
Execute the request method.
Parameters
Returns
Supported Clients
Sample
executeRequest(userName, password, workstation, domain)
Execute a request method using windows authentication.
Parameters
{String}
{String}
{String}
Returns
Supported Clients
id | sam |
---|
class | lastDetailRow |
---|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
usePreemptiveAuthentication(b)
Whatever to use preemptive authentication (sending the credentials in the header, avoiding the server request to
the client - useful when uploading files, as some http servers would cancel the first request from the client, if too big,
as the authentication request to the client was not yet sent)
Parameters
Supported Clients
Sample
Overview
Content Tools
Activity