Allow

final implicit class Allow(response: HttpResponse) extends AnyVal

Provides standardized access to Allow header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

Gets Allow header values.

Gets Allow header values.

Returns:

header values or empty sequence if Allow is not present

def getAllow: Option[Seq[RequestMethod]]

Gets Allow header values if present.

Gets Allow header values if present.

def hasAllow: Boolean

Tests for Allow header.

Tests for Allow header.

Creates new response with Allow header removed.

Creates new response with Allow header removed.

Creates new response with Allow header set to supplied values.

Creates new response with Allow header set to supplied values.

Creates new response with Allow header set to supplied values.

Creates new response with Allow header set to supplied values.