}
if (null != (val = toSet.getPath())) {
properties.put("path", val);
}
properties.put("httpOnly", Boolean.TRUE);
extContext.addResponseCookie(toSet.getName(), toSet.getValue(),
!properties.isEmpty() ? properties : null);
properties = null;
}
contextMap.put(CONSTANTS.DidWriteCookieAttributeName, Boolean.TRUE);
}