org.scalatra

RailsRouteMatcher

final class RailsRouteMatcher extends RouteMatcher with ReversibleRouteMatcher

An implementation of Rails' path pattern syntax

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RailsRouteMatcher
  2. ReversibleRouteMatcher
  3. RouteMatcher
  4. Function1
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RailsRouteMatcher(pattern: String)

Type Members

  1. case class Builder(path: String, params: Map[String, String]) extends Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object BuilderGeneratorParser extends RegexParsers

  7. def andThen[A](g: (Route) ⇒ A): (Route) ⇒ A

    Definition Classes
    Function1
  8. def apply(requestPath: String): Option[MultiParams]

    Definition Classes
    RailsRouteMatcherRouteMatcher
  9. def apply(route: Route): Route

    Definition Classes
    RouteMatcher → Function1
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def compose[A](g: (A) ⇒ Route): (A) ⇒ Route

    Definition Classes
    Function1
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. lazy val generator: (Builder) ⇒ Builder

  17. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def reverse(params: Map[String, String], splats: List[String]): String

    Generates a URI from a route matcher.

    Generates a URI from a route matcher.

    params

    a map of named params extractable by the route

    splats

    a list of splats extractable by the route

    returns

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

    Definition Classes
    RailsRouteMatcherReversibleRouteMatcher
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ReversibleRouteMatcher

Inherited from RouteMatcher

Inherited from (Route) ⇒ Route

Inherited from AnyRef

Inherited from Any