readCookie

fun HttpServletRequest.readCookie(name: String): String?

Read a cookie value by name from the request.

Return

the cookie value if present; otherwise null

Parameters

name

cookie name to look up