ServletApplicationRequestCookies

class ServletApplicationRequestCookies : RequestCookies

Constructors

<init>

ServletApplicationRequestCookies(
    servletRequest: HttpServletRequest,
    request: ApplicationRequest)

Inherited Properties

rawCookies

val rawCookies: Map<String, String>

RAW cookie values, not decoded so could have percent encoded values, quotes, escape characters and so on. It is recommended to use get instead

request

val request: ApplicationRequest

application request to fetch cookies from

Functions

fetchCookies

fun fetchCookies(): Map<String, String>

Fetch cookies from request. Could access cookies using engine’s native API.

Inherited Functions

get

operator fun get(
    name: String,
    encoding: CookieEncoding = CookieEncoding.URI_ENCODING
): String?

Get cookie name value decoding cookies using encoding strategy