AcceptPatch

scamper.http.headers.AcceptPatch
final class AcceptPatch(response: HttpResponse) extends AnyVal

Adds standardized access to Accept-Patch header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Gets Accept-Patch header values.

Gets Accept-Patch header values.

Attributes

Returns

header values or empty sequence if Accept-Patch is not present

def acceptPatchOption: Option[Seq[MediaType]]

Gets Accept-Patch header values if present.

Gets Accept-Patch header values if present.

Attributes

Creates new response with Accept-Patch header removed.

Creates new response with Accept-Patch header removed.

Attributes

def hasAcceptPatch: Boolean

Tests for Accept-Patch header.

Tests for Accept-Patch header.

Attributes

Creates new response with Accept-Patch header set to supplied values.

Creates new response with Accept-Patch header set to supplied values.

Attributes

Creates new response with Accept-Patch header set to supplied values.

Creates new response with Accept-Patch header set to supplied values.

Attributes