class ResponseCookies
Server's response cookies
ResponseCookies(response: ApplicationResponse, secureTransport: Boolean)
Server's response cookies |
fun append(item: Cookie): Unit
Append cookie item using fun fun append(name: String, value: String, encoding: CookieEncoding = CookieEncoding.URI_ENCODING, maxAge: Long = 0, expires: GMTDate? = null, domain: String? = null, path: String? = null, secure: Boolean = false, httpOnly: Boolean = false, extensions: Map<String, String?> = emptyMap()): Unit
Append a cookie using |
|
fun appendExpired(name: String, domain: String? = null, path: String? = null): Unit
Append already expired cookie: useful to remove client cookies |
|
operator fun get(name: String): Cookie?
Get cookie from response HTTP headers (from |