Object/Trait

akka.http.scaladsl.model

ContentType

Related Docs: trait ContentType | package model

Permalink

object ContentType

Source
ContentType.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContentType
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Binary(mediaType: MediaType.Binary) extends javadsl.model.ContentType.Binary with ContentType with Product with Serializable

    Permalink

    Represents a content-type which we know not to contain text (will never have have a charset)

  2. sealed trait NonBinary extends javadsl.model.ContentType.NonBinary with ContentType

    Permalink

    Represents a content-type which we know to contain text, and has a specified charset.

  3. final case class WithCharset(mediaType: WithOpenCharset, charset: HttpCharset) extends javadsl.model.ContentType.WithCharset with NonBinary with Product with Serializable

    Permalink

    Represents a content-type which we know to contain text, and the charset is known at runtime.

  4. final case class WithFixedCharset(mediaType: MediaType.WithFixedCharset) extends javadsl.model.ContentType.WithFixedCharset with NonBinary with Product with Serializable

    Permalink

    Represents a content-type which we know to contain text, where the charset always has the same predefined value.

  5. final case class WithMissingCharset(mediaType: WithOpenCharset) extends javadsl.model.ContentType.WithMissingCharset with ContentType with Product with Serializable

    Permalink

    Represents a content-type which we know to contain text, and would be better off having a charset, but the client or server hasn't provided that.

    Represents a content-type which we know to contain text, and would be better off having a charset, but the client or server hasn't provided that. For example, "text/xml" without a charset parameter.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(mediaType: MediaType, charset: () ⇒ HttpCharset): ContentType

    Permalink
  5. def apply(mediaType: WithOpenCharset, charset: HttpCharset): WithCharset

    Permalink
  6. implicit def apply(mediaType: MediaType.WithFixedCharset): WithFixedCharset

    Permalink
  7. implicit def apply(mediaType: MediaType.Binary): Binary

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def parse(value: String): Either[List[ErrorInfo], ContentType]

    Permalink

    Tries to parse a ContentType value from the given String.

    Tries to parse a ContentType value from the given String. Returns Right(contentType) if successful and Left(errors) otherwise.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def unapply(contentType: ContentType): Option[(MediaType, Option[HttpCharset])]

    Permalink
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped