http4k / org.http4k.lens / WebForm
data class WebForm
Name | Summary |
---|---|
<init> | WebForm(fields: Map < String , List < String >> = emptyMap(), errors: List < Failure > = emptyList()) |
Name | Summary |
---|---|
errors | val errors: List < Failure > |
fields | val fields: Map < String , List < String >> |
Name | Summary |
---|---|
minus | operator fun minus(name: String ): WebForm |
plus | operator fun plus(kv: Pair < String , String >): WebForm |
Name | Summary |
---|---|
shouldHaveFormField | fun <T> WebForm .shouldHaveFormField(field: Lens < WebForm , T>, matcher: Matcher<T>): Unit |
shouldNotHaveFormField | fun <T> WebForm .shouldNotHaveFormField(field: Lens < WebForm , T>, matcher: Matcher<T>): Unit |
with | fun WebForm .with(vararg modifiers: ( WebForm ) -> WebForm ): WebForm |