Expect

final implicit
class Expect(request: HttpRequest) extends AnyVal

Provides standardized access to Expect header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def expect: String

Gets Expect header value.

Gets Expect header value.

Throws
HeaderNotFound

if Expect is not present

def getExpect: Option[String]

Gets Expect header value if present.

Gets Expect header value if present.

def hasExpect: Boolean

Tests for Expect header.

Tests for Expect header.

Creates new request with Expect header removed.

Creates new request with Expect header removed.

def setExpect(value: String): HttpRequest

Creates new request with Expect header set to supplied value.

Creates new request with Expect header set to supplied value.