of

fun of(contract: HttpRouteContract, aliases: IdentityHeaderAliases = IdentityHeaderAliases.NONE): RouteIdentity


fun of(request: ServerRequest): RouteIdentity

The route identity of request: the one its route was materialized with, else (a handler invoked outside a materialized router) one read from the path variables the request matched.