object Content-Type extends Internal[Content-Type] with Singleton with Serializable
- Source
- Content-Type.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Content-Type
- Serializable
- Serializable
- Singleton
- Extractable
- Internal
- HeaderKey
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
HeaderT = Content-Type
- Definition Classes
- Internal → HeaderKey
Value Members
- def apply(mediaType: MediaType): Content-Type
- def apply(mediaType: MediaType, charset: Charset): Content-Type
-
final
def
from(headers: Headers): Option[HeaderT]
- Definition Classes
- Singleton → Extractable
-
def
matchHeader(header: Header): Option[HeaderT]
- Definition Classes
- Internal → HeaderKey
-
val
name: CaseInsensitiveString
- Definition Classes
- Internal → HeaderKey
-
def
parse(s: String): ParseResult[Content-Type]
- Definition Classes
- Content-Type → HeaderKey
-
def
toString(): String
- Definition Classes
- HeaderKey → AnyRef → Any
-
final
def
unapply(headers: Headers): Option[HeaderT]
- Definition Classes
- Extractable
-
final
def
unapply(header: Header): Option[HeaderT]
- Definition Classes
- HeaderKey