servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Methods Summaryvoidreleases all resources that this client has, should be called after usage.Creates a new delete request (a request to delete a resource on server).Creates a new get request (retrieves whatever information is stored on specified url).Creates a new head request (similar to get request, must not contain body content).Creates a new options request (a request for information about communication options).Creates a new patch request (used for granular updates).Create a new post request ( Origin server should accept/process the submitted data.Creates a new put request (similar to post request, contains information to be submitted).Creates a new trace request (debug request, server will just echo back).Get a cookie by name.Get all cookies from this client.voidSet proxy credentials.voidSet proxy server.Add cookie to the this client.Add cookie to the this client.Add cookie to the this client.Add cookie to the this client.Add cookie to the this client.voidSets a timeout in milliseconds for retrieving of data (when 0 there is no timeout).functionservoy sDetail2100%height:30px2Methods Detailsclosename
close()
dessIndent
releases all resources that this client has, should be called after usage.
Creates a new delete request (a request to delete a resource on server).
prs
Parameters
sIndenturl;ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowcreateGetRequestname
createGetRequest(url)
dessIndent
Creates a new get request (retrieves whatever information is stored on specified url).
If this url is a https ssl encrypted url which certificates are not in the java certificate store.
(Like a self signed certificate or a none existing root certificate)
Then for a smart client a dialog will be given, to give the user the ability to accept this certificate for the next time.
For a Web or Headless client the system administrator does have to add that certificate (chain) to the java install on the server.
See http://wiki.servoy.com/display/tutorials/Import+a+%28Root%29+certificate+in+the+java+cacerts+file
Create a new post request ( Origin server should accept/process the submitted data.)
If this url is a https ssl encrypted url which certificates are not in the java certificate store.
(Like a self signed certificate or a none existing root certificate)
Then for a smart client a dialog will be given, to give the user the ability to accept this certificate for the next time.
For a Web or Headless client the system administrator does have to add that certificate (chain) to the java install on the server.
See http://wiki.servoy.com/display/tutorials/Import+a+%28Root%29+certificate+in+the+java+cacerts+file
prs
Parameters
sIndenturl;ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowcreatePutRequestname
createPutRequest(url)
dessIndent
Creates a new put request (similar to post request, contains information to be submitted).
sIndentcookieNamethe name of the cookiecookieValuethe value of the cookiedomainthe domainpaththe pathmaxAgemaximum age of cookiesecuretrue if it is a secure cookie, false otherwiseret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowsetTimeoutname
setTimeout(msTimeout)
dessIndent
Sets a timeout in milliseconds for retrieving of data (when 0 there is no timeout).