http4k / org.http4k.core / RequestContexts / invoke
fun invoke(target:
Request
):
RequestContext
Lens operation to get the value from the target
LensFailure
- if the value could not be retrieved from the target (missing/invalid etc)fun <R :
Request
> invoke(value:
RequestContext
, target: R): R
Lens operation to set the value into the target