http4k / org.http4k.lens / Lens
Lens
open class Lens<in IN :
Any
, out FINAL> :
LensExtractor
<IN, FINAL>,
Iterable
<
Meta
>
A Lens provides the uni-directional extraction of an entity from a target.
Constructors
Name |
Summary |
<init> |
A Lens provides the uni-directional extraction of an entity from a target.Lens(meta: Meta , lensGet: (IN) -> FINAL) |
Properties
Functions
Extension Functions
Inheritors
Name |
Summary |
BiDiLens |
A BiDiLens provides the bi-directional extraction of an entity from a target, or the insertion of an entity into a target.class BiDiLens<in IN : Any , FINAL> : LensInjector <FINAL, IN>, Lens <IN, FINAL> |
Mapping |
class Mapping<IN : Any , OUT> : Lens <IN, OUT> |
PathLens |
open class PathLens<out FINAL> : Lens < Request , FINAL> |