SinatraRouteMatcher
org.scalatra.SinatraRouteMatcher
final class SinatraRouteMatcher(pattern: String) extends RouteMatcher, ReversibleRouteMatcher
An implementation of Sinatra's path pattern syntax.
Attributes
- Graph
-
- Supertypes
-
trait ReversibleRouteMatchertrait RouteMatchertrait RouteTransformerclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object BuilderGeneratorParser extends RegexParsers
Attributes
- Supertypes
-
trait RegexParserstrait Parsersclass Objecttrait Matchableclass Any
- Self type
Value members
Concrete methods
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
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Inherited methods
Attributes
- Inherited from:
- RouteMatcher
In this article