path

fun path(pattern: String, f: (ServerRequest) -> Mono<out ServerResponse>)

Route to the given handler function if the given path predicate applies.

See also


fun path(pattern: String): RequestPredicate

Return a RequestPredicate that tests the request path against the given path pattern.

See also