api

http4k / org.http4k.lens / BodyLens / invoke

invoke

open operator fun invoke(target: HttpMessage): FINAL

Lens operation to get the value from the target

Exceptions

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