tinyrouter

package tinyrouter

Visibility
  1. Public
  2. All

Type Members

  1. case class Bijection[T](toUrl: (T) ⇒ String, fromUrl: PartialFunction[String, T])(implicit evidence$3: ClassTag[T]) extends Product with Serializable

    Wrapper for two functions, T => String and String => T

  2. case class Router[T](bijections: Bijection[_ <: T]*) extends Product with Serializable

    A router is a wrapper around a sequence of bijections.

  3. abstract class StringUnapply[T] extends AnyRef

    Anything that can unapply on string values can be put into a url extractor

  4. trait TinyRouter extends AnyRef

    Small DSL to build a Router.

Value Members

  1. object StringUnapply

  2. object TinyRouter extends TinyRouter

Ungrouped