ContentLocation

final implicit
class ContentLocation[T <: HttpMessage](message: T) extends AnyVal

Provides standardized access to Content-Location header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

Gets Content-Location header value.

Gets Content-Location header value.

Throws
HeaderNotFound

if Content-Location is not present

def getContentLocation: Option[Uri]

Gets Content-Location header value if present.

Gets Content-Location header value if present.

def hasContentLocation: Boolean

Tests for Content-Location header.

Tests for Content-Location header.

Creates new message removing Content-Location header.

Creates new message removing Content-Location header.

def setContentLocation(value: Uri): T

Creates new message setting Content-Location header to supplied value.

Creates new message setting Content-Location header to supplied value.