play.api.http

ContentTypes

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val BINARY: String

    Content-Type of binary data.

    Content-Type of binary data.

    Definition Classes
    ContentTypes
  7. val CACHE_MANIFEST: String

    Content-Type of application cache.

    Content-Type of application cache.

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

    Content-Type of css.

    Content-Type of css.

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

    Content-Type of server sent events.

    Content-Type of server sent events.

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

    Content-Type of form-urlencoded.

    Content-Type of form-urlencoded.

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

    Content-Type of html.

    Content-Type of html.

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

    Content-Type of javascript.

    Content-Type of javascript.

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

    Content-Type of json.

    Content-Type of json.

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

    Content-Type of text.

    Content-Type of text.

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

    Content-Type of xml.

    Content-Type of xml.

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

    Definition Classes
    Any
  17. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

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

    returns

    the codec charset appended to mimeType

    Definition Classes
    ContentTypes

Inherited from ContentTypes

Inherited from AnyRef

Inherited from Any

Ungrouped