ContentDisposition

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

Adds standardized access to Content-Disposition header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

Gets Content-Disposition header value.

Gets Content-Disposition header value.

Attributes

Throws
HeaderNotFound

if Content-Disposition is not present

Gets Content-Disposition header value if present.

Gets Content-Disposition header value if present.

Attributes

Creates new response with Content-Disposition header removed.

Creates new response with Content-Disposition header removed.

Attributes

def hasContentDisposition: Boolean

Tests for Content-Disposition header.

Tests for Content-Disposition header.

Attributes

Creates new response with Content-Disposition header set to supplied value.

Creates new response with Content-Disposition header set to supplied value.

Attributes