implicit final class Referer extends AnyVal
Provides standardized access to Referer header.
- Alphabetic
- By Inheritance
- Referer
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Referer(request: HttpRequest)
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 getReferer: Option[URI]
Gets Referer header value if present.
- def hasReferer: Boolean
Tests whether Referer header is present.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def referer: URI
Gets Referer header value.
Gets Referer header value.
- Exceptions thrown
HeaderNotFound
if Referer is not present
- def removeReferer(): HttpRequest
Creates new request removing Referer header.
- def toString(): String
- Definition Classes
- Any
- def withReferer(value: URI): HttpRequest
Creates new request setting Referer header to supplied value.