http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-core
/
org.http4k.routing
/
body
body
fun
body
(
fn
:
(
Body
)
->
Boolean
)
:
Router
(
source
)
Ensure body matches predicate
@
JvmName
(
name
=
"bodyMatches"
)
fun
body
(
fn
:
(
String
)
->
Boolean
)
:
Router
(
source
)
Ensure body string matches predicate