http4k / org.http4k.hamkrest / hasBody
fun hasBody(expected: Matcher<
Body
>): Matcher<
HttpMessage
>
@JvmName("hasBodyNullableString") fun hasBody(expected: Matcher<
String
?>): Matcher<
HttpMessage
>
fun hasBody(expected:
CharSequence
): Matcher<
HttpMessage
>
fun hasBody(expected:
Regex
): Matcher<
HttpMessage
>
fun <T> hasBody(lens:
BodyLens
<T>, matcher: Matcher<T>): Matcher<
HttpMessage
>
fun <NODE>
Json
<NODE>.hasBody(expected: NODE): Matcher<
HttpMessage
>
fun <NODE>
Json
<NODE>.hasBody(expected: Matcher<NODE>): Matcher<
HttpMessage
>
fun <NODE>
Json
<NODE>.hasBody(expected:
String
): Matcher<
HttpMessage
>