spring-framework
5.3.39

# path

fun path(pattern: String, f: suspend (ServerRequest) -> ServerResponse)
Content copied to clipboard

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

## See also

org.springframework.web.reactive.function.server.RouterFunctions
fun path(pattern: String): RequestPredicate
Content copied to clipboard

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

## See also

org.springframework.web.reactive.function.server.RequestPredicates