Packages

  • package root
    Definition Classes
    root
  • package play
    Definition Classes
    root
  • package api
    Definition Classes
    play
  • package hal

    Scala model of the JSON Hypertext Application Language according to https://tools.ietf.org/html/draft-kelly-json-hal-06

    Scala model of the JSON Hypertext Application Language according to https://tools.ietf.org/html/draft-kelly-json-hal-06

    Definition Classes
    api
  • Defaults
  • Hal
  • HalLink
  • HalLinks
  • HalResource

object Hal

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Hal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit final class HalLinkToResource extends AnyVal
  2. implicit final class HalResourceToJson extends AnyVal
  3. implicit class HalStateToResource[T] extends AnyRef
  4. implicit final class JsonToResource extends AnyVal

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. def embedded(name: String, embeds: HalResource*): HalResource

    A HAL resource with at least one embedded resource

    A HAL resource with at least one embedded resource

    name

    type of the resources

    embeds

    resources to be embedded

  7. def embeddedLink(link: HalLink, embed: HalResource): HalResource

    A HAL resource with a embedded resource and its self link

    A HAL resource with a embedded resource and its self link

    link

    self link of the embedded resource

    embed

    resource to be embedded

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def hal[T](content: T, links: Vector[HalLink], embedded: Vector[(String, Vector[HalResource])] = Vector.empty)(implicit arg0: Writes[T]): HalResource

    Construct a fully featured HAL resource by providing all of it components

    Construct a fully featured HAL resource by providing all of it components

    content

    state of the resource

    links

    links to resources

    embedded

    embedded HAL resources

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def links(links: HalLink*): HalResource

    A HAL resource containing only links

    A HAL resource containing only links

    links

    links to be contained in the resource

  15. def linksSeq(links: Seq[HalLink]): HalResource

    A HAL resource containing only links

    A HAL resource containing only links

    links

    links to be contained in the resource

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def state[T](content: T)(implicit arg0: Writes[T]): HalResource

    A minimal HAL resource with only state and without links / embedded resources

    A minimal HAL resource with only state and without links / embedded resources

    T

    something which can be converted to JSON

    content

    content representing the state

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped