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.