We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The preserved keyword for response is : httpServletResponse
example :
var cookieVal = "accessToken=; path=/; HttpOnly"; httpServletResponse.setHeader("Set-Cookie", cookieVal);
var cookieVal = "accessToken=; path=/; HttpOnly";
httpServletResponse.setHeader("Set-Cookie", cookieVal);
The preserved keyword for request is : httpServletRequest example : var token = null; if(httpServletRequest.getCookies() != null) { foreach(cookie : httpServletRequest.getCookies()) { if (cookie.getName().equals("accessToken")) { token = cookie.getValue(); } } }
var token = null;
if(httpServletRequest.getCookies() != null) {
foreach(cookie : httpServletRequest.getCookies()) {
if (cookie.getName().equals("accessToken")) {
token = cookie.getValue();
}
l