play.api

http

package http

Contains standard HTTP constants. For example:

val text = ContentTypes.TEXT
val ok = Status.OK
val accept = HeaderNames.ACCEPT
Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ContentTypeOf[-A](mimeType: Option[String]) extends Product with Serializable

    Defines the default content type for type A.

  2. trait ContentTypes extends AnyRef

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

  3. trait DefaultContentTypeOfs extends AnyRef

    Contains typeclasses for ContentTypeOf.

  4. trait DefaultWriteables extends LowPriorityWriteables

    Default Writeable.

  5. trait HeaderNames extends AnyRef

    Defines all standard HTTP headers.

  6. trait HttpProtocol extends AnyRef

    Defines HTTP protocol constants

  7. trait LowPriorityWriteables extends AnyRef

    Default Writeable with lowwe priority.

  8. class MediaRange extends MediaType

    A media range as defined by RFC 2616 14.

  9. case class MediaType(mediaType: String, mediaSubType: String, parameters: Seq[(String, Option[String])]) extends Product with Serializable

    A media type as defined by RFC 2616 3.

  10. trait MimeTypes extends AnyRef

    Common HTTP MIME types

  11. trait Status extends AnyRef

    Defines all standard HTTP status codes.

  12. case class Writeable[-A](transform: (A) ⇒ Array[Byte], contentType: Option[String]) extends Product with Serializable

    Transform a value of type A to a Byte Array.

Value Members

  1. object ContentTypeOf extends DefaultContentTypeOfs with Serializable

    Default Content-Type typeclasses.

  2. object ContentTypes extends ContentTypes

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

  3. object HeaderNames extends HeaderNames

    Defines all standard HTTP headers.

  4. object HttpProtocol extends HttpProtocol

    Defines HTTP protocol constants

  5. object MediaRange extends Serializable

  6. object MediaType extends Serializable

  7. object MimeTypes extends MimeTypes

    Common HTTP MIME types

  8. object Status extends Status

    Defines all standard HTTP Status.

  9. object Writeable extends DefaultWriteables with Serializable

    Helper utilities for Writeable.

  10. val dateFormat: DateTimeFormatter

    HTTP date formatter, compliant to RFC 1123

Inherited from AnyRef

Inherited from Any

Ungrouped