implicit final class ContentDisposition extends AnyVal
Provides standardized access to Content-Disposition header.
- Alphabetic
- By Inheritance
- ContentDisposition
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ContentDisposition(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
contentDisposition: DispositionType
Gets Content-Disposition header value.
Gets Content-Disposition header value.
- Exceptions thrown
HeaderNotFound
if Content-Disposition is not present
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getContentDisposition: Option[DispositionType]
Gets Content-Disposition header value if present.
-
def
hasContentDisposition: Boolean
Tests for Content-Disposition header.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
removeContentDisposition: HttpResponse
Creates new response removing Content-Disposition header.
-
def
setContentDisposition(value: DispositionType): HttpResponse
Creates new response setting Content-Disposition header to supplied value.
-
def
toString(): String
- Definition Classes
- Any
Provided herein is API documentation for Scamper, the HTTP library for Scala.