Matt
08/02/2018, 7:01 PMget("*") {
call.respond(HttpStatusCode.NotFound, etc)
}
Only matches if there is no more specific route, if I understand it correctly?orangy
get("{...}")
, asterisk matches only single path segmentMatt
08/02/2018, 9:28 PMorangy
route("{...}") {
handle {
…
}
}
Matt
08/02/2018, 9:29 PMorangy
get
and other builder methods when in doubt. They all in the end use the same low level facilities, and you can use them too. And build own builder methods.