ContentType
scamper.http.headers.ContentType
final class ContentType[T <: HttpMessage](message: T) extends AnyVal
Adds standardized access to Content-Type header.
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Gets Content-Type header value.
Gets Content-Type header value if present.
Gets Content-Type header value if present.
Attributes
Creates new message with Content-Type header removed.
Creates new message with Content-Type header removed.
Attributes
Tests for Content-Type header.
Tests for Content-Type header.
Attributes
Creates new message with Content-Type header set to supplied value.
Creates new message with Content-Type header set to supplied value.
Attributes
In this article