api

http4k / org.http4k.lens / BiDiPathLensSpec

BiDiPathLensSpec

open class BiDiPathLensSpec<OUT> : PathLensSpec<OUT>

Constructors

Name Summary
<init> BiDiPathLensSpec(paramMeta: ParamMeta, get: LensGet<String, OUT>, set: LensSet<Request, OUT>)

Functions

Name Summary
map Create another BiDiPathLensSpec which applies the bi-directional transformations to the result. Any resultant Lens can be used to extract or insert the final type from/into a path segment.fun <NEXT> map(nextIn: (OUT) -> NEXT, nextOut: (NEXT) -> OUT): BiDiPathLensSpec<NEXT>
of Create a lens for this Specopen fun of(name: String, description: String?): BiDiPathLens<OUT>

Inheritors

Name Summary
Path object Path : BiDiPathLensSpec<String>