object Hal
- Alphabetic
- By Inheritance
- Hal
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit final class HalLinkToResource extends AnyVal
- implicit final class HalResourceToJson extends AnyVal
- implicit class HalStateToResource[T] extends AnyRef
- implicit final class JsonToResource extends AnyVal
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated