Package-level declarations
Functions
Link copied to clipboard
Read a cookie value by name from the request.
Link copied to clipboard
fun HttpServletResponse.sendUnauthorized(code: String, reason: String, wwwAuthenticate: String? = null)
Write a 401 Unauthorized response with a compact JSON body and optional WWW-Authenticate header.