BiDiBodyLens
class BiDiBodyLens<FINAL>(metas: List<Meta>, contentType: ContentType, get: (HttpMessage) -> FINAL, setLens: (FINAL, HttpMessage) -> HttpMessage) : BodyLens<FINAL> , LensInjectorExtractor<HttpMessage, FINAL>
A BiDiBodyLens provides the bi-directional extraction of an entity from a target body, or the insertion of an entity into a target body.
Constructors
Link copied to clipboard
constructor(metas: List<Meta>, contentType: ContentType, get: (HttpMessage) -> FINAL, setLens: (FINAL, HttpMessage) -> HttpMessage)
Functions
Link copied to clipboard
Convert the result of a lens extraction to a Result4k type which
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun HttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): (request: Request) -> Response
Link copied to clipboard
Lens operation to get the value from the target. Synonym for invoke(IN)
Link copied to clipboard
Lens operation to set the value into the target
Lens operation to get the value from the target
Link copied to clipboard
Restrict the type that this Lens can extract from
Link copied to clipboard
Restrict the type that this Lens can inject into
Link copied to clipboard
Convert a synchronous HttpHandler API to mimic AsyncHttpClient