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 HttpVerbs extends AnyRef

    Standard HTTP Verbs

  8. trait LowPriorityWriteables extends AnyRef

    Default Writeable with lowwe priority.

  9. class MediaRange extends MediaType

    A media range as defined by RFC 2616 14.

  10. 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.

  11. trait MimeTypes extends AnyRef

    Common HTTP MIME types

  12. trait Status extends AnyRef

    Defines all standard HTTP status codes.

  13. 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 HttpVerbs extends HttpVerbs

    Standard HTTP Verbs

  6. object MediaRange extends Serializable

  7. object MediaType extends Serializable

  8. object MimeTypes extends MimeTypes

    Common HTTP MIME types

  9. object Status extends Status

    Defines all standard HTTP Status.

  10. object Writeable extends DefaultWriteables with Serializable

    Helper utilities for Writeable.

  11. val dateFormat: DateTimeFormatter

    HTTP date formatter, compliant to RFC 1123

Inherited from AnyRef

Inherited from Any

Ungrouped