Child pages
  • Cookie

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{hidden} DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden} {sub-section:description|text=}{sub-section}\\ {table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#getComment]\() Returns the cookie comment.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getDomain]\() Returns the cookie domain.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getName]\() Returns the cookie name.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getPath]\() Returns the cookie path.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#getSecure]\() Returns the cookie secure attribute.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getValue]\() Returns the cookie value.{td}{tr}{tbody}{table}\\ {table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=B5FC15F1-AE42-4A92-8938-54EDBF6C2229}{tr:id=name}{td}h6.getComment{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getComment{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_des|text=|trigger=button}{sub-section}{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_des|trigger=none|class=sIndent}Returns the cookie comment.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_prs|trigger=none} {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_ret|text=|trigger=button}{sub-section}{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_see|text=|trigger=button}{sub-section}{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_see|text=|trigger=button}{sub-section}{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_sam|text=|trigger=button}{sub-section}{sub-section:B5FC15F1-AE42-4A92-8938-54EDBF6C2229_sam|class=sIndent|trigger=none}{code:language=javascript} var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName') var path = cookie.getComment(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8A8AEC3B-978B-4992-BFE9-06CD67BB9063}{tr:id=name}{td}h6.getDomain{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getDomain{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_des|text=|trigger=button}{sub-section}{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_des|trigger=none|class=sIndent}Returns the cookie domain.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_prs|trigger=none} {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_ret|text=|trigger=button}{sub-section}{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_see|text=|trigger=button}{sub-section}{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_see|text=|trigger=button}{sub-section}{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_sam|text=|trigger=button}{sub-section}{sub-section:8A8AEC3B-978B-4992-BFE9-06CD67BB9063_sam|class=sIndent|trigger=none}{code:language=javascript} var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName') var domain = cookie.getDomain(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=D1EB67FC-93BA-4917-A666-80B85A079FEB}{tr:id=name}{td}h6.getName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_des|text=|trigger=button}{sub-section}{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_des|trigger=none|class=sIndent}Returns the cookie name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_prs|trigger=none} {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_ret|text=|trigger=button}{sub-section}{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_see|text=|trigger=button}{sub-section}{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_see|text=|trigger=button}{sub-section}{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_sam|text=|trigger=button}{sub-section}{sub-section:D1EB67FC-93BA-4917-A666-80B85A079FEB_sam|class=sIndent|trigger=none}{code:language=javascript} var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName') var name = cookie.getName(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=411D949A-4FB2-4E3E-9A1C-FEF50C30C964}{tr:id=name}{td}h6.getPath{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getPath{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_des|text=|trigger=button}{sub-section}{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_des|trigger=none|class=sIndent}Returns the cookie path.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_prs|trigger=none} {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_ret|text=|trigger=button}{sub-section}{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_see|text=|trigger=button}{sub-section}{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_see|text=|trigger=button}{sub-section}{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_sam|text=|trigger=button}{sub-section}{sub-section:411D949A-4FB2-4E3E-9A1C-FEF50C30C964_sam|class=sIndent|trigger=none}{code:language=javascript} var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName') var path = cookie.getPath(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8700C249-B3E0-44A9-A618-484BBD1A81CE}{tr:id=name}{td}h6.getSecure{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}getSecure{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_des|text=|trigger=button}{sub-section}{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_des|trigger=none|class=sIndent}Returns the cookie secure attribute.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_prs|trigger=none} {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_ret|text=|trigger=button}{sub-section}{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_see|text=|trigger=button}{sub-section}{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_see|text=|trigger=button}{sub-section}{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_sam|text=|trigger=button}{sub-section}{sub-section:8700C249-B3E0-44A9-A618-484BBD1A81CE_sam|class=sIndent|trigger=none}{code:language=javascript} var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName') var path = cookie.getSecure(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E}{tr:id=name}{td}h6.getValue{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getValue{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_des|text=|trigger=button}{sub-section}{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_des|trigger=none|class=sIndent}Returns the cookie value.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_prs|trigger=none} {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_ret|text=|trigger=button}{sub-section}{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_see|text=|trigger=button}{sub-section}{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_see|text=|trigger=button}{sub-section}{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_sam|text=|trigger=button}{sub-section}{sub-section:F4EA17CA-C9BD-4BFF-8D54-BA5B3666671E_sam|class=sIndent|trigger=none}{code:language=javascript} var cookie = plugins.http.getHttpClientCookie('clientName', 'cookieName') var value = cookie.getValue(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Wiki Markup
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns the cookie domain.Returns the cookie name.Returns the cookie path.Returns the cookie secure attribute.Returns the cookie value.

functionservoy sDetail2100%height:30px2Methods DetailsgetDomainname

getDomain()

dessIndent
Returns the cookie domain.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowgetNamename

getName()

dessIndent
Returns the cookie name.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getPathname

getPath()

dessIndent
Returns the cookie path.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getSecurename

getSecure()

dessIndent
Returns the cookie secure attribute.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getValuename

getValue()

dessIndent
Returns the cookie value.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow