RequestState

data class RequestState(val request: HttpRequest<*>, val principal: Principal?, val path: String = request.path)

Request state container which is passed to methods which need access to request state.

Parameters

request

HTTP request bound to this request state.

principal

Security principal detected for this request, or null.

path

Request path, made available to the VM. Unless specified, derived from request.

Constructors

Link copied to clipboard
constructor(request: HttpRequest<*>, principal: Principal?, path: String = request.path)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val request: HttpRequest<*>