api

http4k / org.http4k.lens / WebForm

WebForm

data class WebForm (source)

Constructors

Name Summary
<init> WebForm(fields: Map<String, List<String>> = emptyMap(), errors: List<Failure> = emptyList())

Properties

Name Summary
errors val errors: List<Failure>
fields val fields: Map<String, List<String>>

Functions

Name Summary
minus operator fun minus(name: String): WebForm
plus operator fun plus(kv: Pair<String, String>): WebForm

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T