Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryCreate a http cookie.Get the currently running REST-WS request.Get the response for the currently running REST-WS request.Check whether the client is currently running a REST-WS request.voidAllow or block sending the user properties as response header values.

functionservoy sDetail2100%height:30px2Methods DetailscreateCookiename

createCookie(String, String)

dessIndent
Create a http cookie.
The cookie name and value allows only a sequence of non-special, non-white space characters, see
the cookie spec https://tools.ietf.org/html/rfc2965
prs

Parameters

sIndent
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowgetRequestname

getRequest()

dessIndent
Get the currently running REST-WS request.
 If the client is not currently running in REST-WS, an exception is thrown.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getResponsename

getResponse()

dessIndent
Get the response for the currently running REST-WS request.
If the client is not currently running in REST-WS, an exception is thrown.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
isRunningRequestname

isRunningRequest()

dessIndent
Check whether the client is currently running a REST-WS request.
 If false, the rest-ws client-plugin features are not available.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
sendResponseUserPropertiesHeadersname

sendResponseUserPropertiesHeaders(send)

dessIndent
Allow or block sending the user properties as response header values.
By default the response headers contain the user properties.
prs

Parameters

sIndentsend ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow