implicit final class Link extends AnyVal
Provides standardized access to Link header.
- Alphabetic
- By Inheritance
- Link
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Link(response: HttpResponse)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getLink: Option[Seq[LinkValue]]
Gets Link header values if present.
- def hasLink: Boolean
Tests whether Link header is present.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def link: Seq[LinkValue]
Gets Link header values.
Gets Link header values.
- returns
header values or empty sequence if Link is not present
- def removeLink(): HttpResponse
Creates new response removing Link header.
- def toString(): String
- Definition Classes
- Any
- def withLink(values: LinkValue*): HttpResponse
Creates new response setting Link header to supplied values.