Package

trivial

rest

Permalink

package rest

Visibility
  1. Public
  2. All

Type Members

  1. case class Failure(statusCode: Int, reasons: Seq[String]) extends Product with Serializable

    Permalink
  2. trait HardCoded extends AnyRef

    Permalink
  3. trait HttpMethod extends AnyRef

    Permalink
  4. trait Resource[T <: Resource[T]] extends AnyRef

    Permalink
  5. class Rest extends AnyRef

    Permalink

    Trivial REST: (1) Declare a case class (2) Register it as a Resource, specifying the allowed HTTP methods (3) You get a truly RESTful API, your allowed HTTP methods, and persistence, and caching, for free.

    Trivial REST: (1) Declare a case class (2) Register it as a Resource, specifying the allowed HTTP methods (3) You get a truly RESTful API, your allowed HTTP methods, and persistence, and caching, for free. (4) -- and a few days later -- when you need to migrate data, simply declare the migration rules

    Concepts to explore: Case classes as a schema for JSON Postel's Law / The Robustness Principle - http://en.wikipedia.org/wiki/Robustness_principle Multiple versions of a case class supported at the same time

Value Members

  1. object Classy

    Permalink
  2. object Delete extends HttpMethod with Product with Serializable

    Permalink
  3. object ExceptionDecoder

    Permalink
  4. object FailFactory

    Permalink
  5. object Failure extends Serializable

    Permalink
  6. object Get extends HttpMethod with Product with Serializable

    Permalink
  7. object GetAll extends HttpMethod with Product with Serializable

    Permalink
  8. object HttpMethod

    Permalink
  9. object Post extends HttpMethod with Product with Serializable

    Permalink
  10. object Put extends HttpMethod with Product with Serializable

    Permalink
  11. object Resource

    Permalink
  12. package caching

    Permalink
  13. package controller

    Permalink
  14. package persistence

    Permalink
  15. package serialisation

    Permalink
  16. package validation

    Permalink

Ungrouped