spring-framework
5.3.39

# invoke

operator fun RequestPredicate.invoke(f: suspend (ServerRequest) -> ServerResponse)
Content copied to clipboard

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

## See also

org.springframework.web.reactive.function.server.RouterFunctions
operator fun String.invoke(f: suspend (ServerRequest) -> ServerResponse)
Content copied to clipboard

Route to the given handler function if the given predicate (String processed as a path predicate) applies.

## See also

org.springframework.web.reactive.function.server.RouterFunctions