Object/Trait

play.api.http

ContentTypes

Related Docs: trait ContentTypes | package http

Permalink

object ContentTypes extends ContentTypes

Defines common HTTP Content-Type header values, according to the current available Codec.

Source
StandardValues.scala
Linear Supertypes
ContentTypes, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContentTypes
  2. ContentTypes
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val BINARY: String

    Permalink

    Content-Type of binary data.

    Content-Type of binary data.

    Definition Classes
    ContentTypes
  5. val CACHE_MANIFEST: String

    Permalink

    Content-Type of application cache.

    Content-Type of application cache.

    Definition Classes
    ContentTypes
  6. def CSS(implicit codec: Codec): String

    Permalink

    Content-Type of css.

    Content-Type of css.

    Definition Classes
    ContentTypes
  7. def EVENT_STREAM(implicit codec: Codec): String

    Permalink

    Content-Type of server sent events.

    Content-Type of server sent events.

    Definition Classes
    ContentTypes
  8. val FORM: String

    Permalink

    Content-Type of form-urlencoded.

    Content-Type of form-urlencoded. This content type does not define a charset parameter.

    Definition Classes
    ContentTypes
  9. def HTML(implicit codec: Codec): String

    Permalink

    Content-Type of html.

    Content-Type of html.

    Definition Classes
    ContentTypes
  10. def JAVASCRIPT(implicit codec: Codec): String

    Permalink

    Content-Type of javascript.

    Content-Type of javascript.

    Definition Classes
    ContentTypes
  11. val JSON: String

    Permalink

    Content-Type of json.

    Content-Type of json. This content type does not define a charset parameter.

    Definition Classes
    ContentTypes
  12. def TEXT(implicit codec: Codec): String

    Permalink

    Content-Type of text.

    Content-Type of text.

    Definition Classes
    ContentTypes
  13. def XHTML(implicit codec: Codec): String

    Permalink

    Content-Type of xhtml.

    Content-Type of xhtml.

    Definition Classes
    ContentTypes
  14. def XML(implicit codec: Codec): String

    Permalink

    Content-Type of xml.

    Content-Type of xml.

    Definition Classes
    ContentTypes
  15. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withCharset(mimeType: String)(implicit codec: Codec): String

    Permalink

    returns

    the codec charset appended to mimeType

    Definition Classes
    ContentTypes

Inherited from ContentTypes

Inherited from AnyRef

Inherited from Any

Ungrouped