Package

org.http4s.rho

hal

Permalink

package hal

Describes Hypertext Application Language types and functions

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. All

Type Members

  1. type Embedded[T] = List[EmbeddedDef[T]]

    Permalink
  2. type EmbeddedDef[T] = (String, Either[ResourceObject[T, _], Seq[ResourceObject[T, _]]])

    Permalink
  3. case class LinkObject(href: String, name: Option[String] = None, title: Option[String] = None, templated: Option[Boolean] = None, type: Option[String] = None, deprecation: Option[String] = None, profile: Option[String] = None, hreflang: Option[String] = None) extends LinkObjectLike with Product with Serializable

    Permalink

    Represents the default implementation of a Link Object which all aspects of the specification.

  4. type LinkObjectDef = (String, Either[LinkObject, Seq[LinkObject]])

    Permalink
  5. trait LinkObjectLike extends AnyRef

    Permalink

    A Link Object represents a hyperlink from the containing resource to a URI.

  6. class LinkObjectSerializer extends CustomSerializer[LinkObject]

    Permalink
  7. type Links = List[LinkObjectDef]

    Permalink
  8. case class ResourceObject[T, E](links: Links = Nil, embedded: Embedded[E] = Nil, content: Option[T] = None) extends Product with Serializable

    Permalink

    A Resource Object represents a resource.

    A Resource Object represents a resource.

    links

    contains links to other resources The "links" property is OPTIONAL. It is an object whose property names are link relation types (as defined by [RFC5988]) and values are either a Link Object or an array of Link Objects. The subject resource of these links is the Resource Object of which the containing "_links" object is a property.

    embedded

    contains embedded resources The "embedded" property is OPTIONAL It is an object whose property names are link relation types (as defined by [RFC5988]) and values are either a Resource Object or an array of Resource Objects. Embedded Resources MAY be a full, partial, or inconsistent version of the representation served from the target URI.

    content

    represents an object that contains all other properties All properties of the content instance will be rendered as JSON, and represent the current state of the resource.

  9. class ResourceObjectBuilder[T, E] extends AnyRef

    Permalink
  10. class ResourceObjectSerializer extends CustomSerializer[ResourceObject[_, _]]

    Permalink

Value Members

  1. object LinkObject extends Serializable

    Permalink
  2. object LinkObjectSerializer

    Permalink
  3. object ResourceObjectSerializer

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped