implicit final class Location extends AnyVal
Provides standardized access to Location header.
- Alphabetic
- By Inheritance
- Location
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Location(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
getLocation: Option[Uri]
Gets Location header value if present.
-
def
hasLocation: Boolean
Tests for Location header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
location: Uri
Gets Location header value.
Gets Location header value.
- Exceptions thrown
HeaderNotFound
if Location is not present
-
def
removeLocation: HttpResponse
Creates new response removing Location header.
-
def
setLocation(value: Uri): HttpResponse
Creates new response setting Location header to supplied value.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.