ReversibleRouteMatcher

org.scalatra.ReversibleRouteMatcher

A route matcher from which a URI can be generated from route parameters.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def reverse(params: Map[String, String], splats: List[String]): String

Generates a URI from a route matcher.

Generates a URI from a route matcher.

Value parameters

params

a map of named params extractable by the route

splats

a list of splats extractable by the route

Attributes

Returns

a String that would match the route with the given params and splats