Age

final implicit
class Age(response: HttpResponse) extends AnyVal

Provides standardized access to Age header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def age: Long

Gets Age header value.

Gets Age header value.

Throws
HeaderNotFound

if Age is not present

def getAge: Option[Long]

Gets Age header value if present.

Gets Age header value if present.

def hasAge: Boolean

Tests for Age header.

Tests for Age header.

Creates new response removing Age header.

Creates new response removing Age header.

def setAge(value: Long): HttpResponse

Creates new response setting Age header to supplied value.

Creates new response setting Age header to supplied value.