api

http4k / org.http4k.core / RequestContext / Companion / invoke

invoke

fun <R : Request> invoke(value: UUID, target: R): R

Lens operation to set the value into the target

fun invoke(target: Request): UUID

Lens operation to get the value from the target

Exceptions

LensFailure - if the value could not be retrieved from the target (missing/invalid etc)