Table Head (thead) |
---|
Table Row (tr) |
---|
| Table Head (th) |
---|
| Method Details |
|
|
Table Body (tbody) |
---|
id | addHeader-String_String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Add a header to the request. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| method.addHeader('Content-type','text/xml; charset=ISO-8859-1') |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | executeAsyncRequest-String_String_String_String_Function_Function |
---|
| }{:=}{td}h6.executeAsyncRequest{td}{tr}{tr:id=sig}{td}{span:style= | Table Cell (td) |
---|
executeAsyncRequest |
|
| }{span}{span:style= }{span}{span}\ {span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}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. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} username -- the user name
\{[String]} password -- the password
\{[String]} workstation -- The workstation the authentication request is originating from.
\{[String]} domain -- The domain to authenticate within.
\{[Function]} successCallbackMethod -- callbackMethod to be called after response is received
\{[Function]} errorCallbackMethod -- callbackMethod to be called if request errors out
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| 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. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} username - the user name {String} password - the password {String} workstation - The workstation the authentication request is originating from. {String} domain - The domain to authenticate within. {Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| method.executeAsyncRequest('username','password','mycomputername','domain',globals.successCallback,globals.errorCallback) |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | executeAsyncRequest-String_String_Function_Function |
---|
| }{:=}{td}h6.executeAsyncRequest{td}{tr}{tr:id=sig}{td}{span:style= | Table Cell (td) |
---|
executeAsyncRequest |
|
| }{span}{span:style= }{span}{span}\ {span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} username -- the user name
\{[String]} password -- the password
\{[Function]} successCallbackMethod -- callbackMethod to be called after response is received
\{[Function]} errorCallbackMethod -- callbackMethod to be called if request errors out
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} username - the user name {String} password - the password {Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| method.executeAsyncRequest(globals.successCallback,globals.errorCallback) |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | executeAsyncRequest-Function_Function |
---|
| }{:=}{td}h6.executeAsyncRequest{td}{tr}{tr:id=sig}{td}{span:style= | Table Cell (td) |
---|
executeAsyncRequest |
|
| }{span}{span:style= }{span}{span}\ Span |
---|
(successCallbackMethod, |
|
|
| {span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Function]} successCallbackMethod -- callbackMethod to be called after response is received
\{[Function]} errorCallbackMethod -- callbackMethod to be called if request errors out
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| method.executeAsyncRequest(globals.successCallback,globals.errorCallback) |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=executeRequest}{tr:id=name}{td}h6.executeRequest{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Response]{span}{span:style=font-weight: bold;}executeRequest{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Execute the request method.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Response]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
executeRequest |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Execute the request method. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var response = method.executeRequest() |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | executeRequest-String_String |
---|
| }{:=}{td}h6.executeRequest{td}{tr}{tr:id=sig}{td}{span:style= | Table Cell (td) |
---|
executeRequest |
|
| }[]{span}{span:style= }{span}{span}\ {span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Execute the request method.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} userName -- the user name
\{[String]} password -- the password
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Response]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Execute the request method. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} userName - the user name {String} password - the password |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var response = method.executeRequest() |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | executeRequest-String_String_String_String |
---|
| }{:=}{td}h6.executeRequest{td}{tr}{tr:id=sig}{td}{span:style= | Table Cell (td) |
---|
executeRequest |
|
| }[]{span}{span:style= }{span}{span}\ {span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Execute a request method using windows authentication.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} userName -- the user name
\{[String]} password -- the password
\{[String]} workstation -- The workstation the authentication request is originating from.
\{[String]} domain -- The domain to authenticate within.
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Response]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Execute a request method using windows authentication. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} userName - the user name {String} password - the password {String} workstation - The workstation the authentication request is originating from. {String} domain - The domain to authenticate within. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var response = method.executeRequest('username','password','mycomputername','domain'); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getAllowedMethods}{tr:id=name}{td}h6.getAllowedMethods{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]\[]{span}{span:style=font-weight: bold;}getAllowedMethods{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns the supported HTTP Request operations as a String Array{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]\[]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
getAllowedMethods |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Returns the supported HTTP Request operations as a String Array |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var supportedOperations = request.getAllowedMethods()
application.output(supportedOperations.join(',')); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table} |