Fix Kotlin example for filtering handler functions
Closes gh-#27337
This commit is contained in:
@@ -799,10 +799,10 @@ For instance, consider the following example:
|
|||||||
ServerRequest.from(it)
|
ServerRequest.from(it)
|
||||||
.header("X-RequestHeader", "Value").build()
|
.header("X-RequestHeader", "Value").build()
|
||||||
}
|
}
|
||||||
POST("/person", handler::createPerson)
|
}
|
||||||
after { _, response -> // <2>
|
POST("/person", handler::createPerson)
|
||||||
logResponse(response)
|
after { _, response -> // <2>
|
||||||
}
|
logResponse(response)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|||||||
Reference in New Issue
Block a user