Class

play.api.rest

Router

Related Doc: package rest

Permalink

class Router[T, R] extends ResourceRouter[T, R]

Linear Supertypes
ResourceRouter[T, R], URLMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Router
  2. ResourceRouter
  3. URLMatchers
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Router(_endpoint: ResourceHandler[T, R])

    Permalink

Type Members

  1. class Endpoint extends AnyRef

    Permalink
    Definition Classes
    URLMatchers

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object DELETE extends Endpoint

    Permalink
    Definition Classes
    URLMatchers
  5. object GET extends Endpoint

    Permalink
    Definition Classes
    URLMatchers
  6. object HEAD extends Endpoint

    Permalink
    Definition Classes
    URLMatchers
  7. object Id

    Permalink

    Extracts resource identification from the path beginning

    Extracts resource identification from the path beginning

    Definition Classes
    URLMatchers
  8. object LIST

    Permalink
    Definition Classes
    URLMatchers
  9. object Namespace

    Permalink

    Verifies if the requests matches any of known resources

    Verifies if the requests matches any of known resources

    Definition Classes
    URLMatchers
  10. object NestedResource

    Permalink

    Verifies if the requests matches any of known resources

    Verifies if the requests matches any of known resources

    Definition Classes
    URLMatchers
  11. object OPTIONS extends Endpoint

    Permalink
    Definition Classes
    URLMatchers
  12. object PATCH extends Endpoint

    Permalink
    Definition Classes
    URLMatchers
  13. object POST

    Permalink
    Definition Classes
    URLMatchers
  14. object PUT extends Endpoint

    Permalink
    Definition Classes
    URLMatchers
  15. object Path

    Permalink

    Extracts path from the request

    Extracts path from the request

    Definition Classes
    URLMatchers
  16. object PathEnd

    Permalink

    Verifies that the request points to nothing

    Verifies that the request points to nothing

    Definition Classes
    URLMatchers
  17. object Prefix

    Permalink

    Verifies router prefix if matches expectation

    Verifies router prefix if matches expectation

    Definition Classes
    URLMatchers
  18. object Resource

    Permalink

    Checks the requests ends at given resource id

    Checks the requests ends at given resource id

    Definition Classes
    URLMatchers
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def attach(resource: String, router: ResourceRouter[_, (Res[T]) ⇒ R]): Unit

    Permalink
    Definition Classes
    ResourceRouter
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def dispatcher: PartialFunction[RequestHeader, R]

    Permalink
    Definition Classes
    ResourceRouter
  23. def endpoint: ResourceHandler[T, R]

    Permalink
    Definition Classes
    RouterResourceRouter
  24. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  30. def isResource(resource: String, request: RequestHeader): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ResourceRouterURLMatchers
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. var nested: Map[String, ResourceRouter[_, (Res[T]) ⇒ R]]

    Permalink
    Definition Classes
    ResourceRouter
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. object on

    Permalink

    Extracts the method from the request

    Extracts the method from the request

    Definition Classes
    URLMatchers
  36. def prefix: String

    Permalink
    Definition Classes
    ResourceRouterURLMatchers
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ResourceRouter[T, R]

Inherited from URLMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped