api

http4k / org.http4k.lens / BiDiBodyLens / <init>

<init>

BiDiBodyLens(metas: List<Meta>, contentType: ContentType, get: (HttpMessage) -> FINAL, setLens: (FINAL, HttpMessage) -> HttpMessage)

A BiDiBodyLens provides the bi-directional extraction of an entity from a target body, or the insertion of an entity into a target body.