Location

final implicit
class Location(response: HttpResponse) extends AnyVal

Provides standardized access to Location header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getLocation: Option[Uri]

Gets Location header value if present.

Gets Location header value if present.

def hasLocation: Boolean

Tests for Location header.

Tests for Location header.

Gets Location header value.

Gets Location header value.

Throws
HeaderNotFound

if Location is not present

Creates new response removing Location header.

Creates new response removing Location header.

Creates new response setting Location header to supplied value.

Creates new response setting Location header to supplied value.