Object/Class

play.api.http

Writeable

Related Docs: class Writeable | package http

Permalink

object Writeable extends DefaultWriteables

Helper utilities for Writeable.

Source
Writeable.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Writeable
  2. DefaultWriteables
  3. LowPriorityWriteables
  4. AnyRef
  5. 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. def apply[A](transform: (A) ⇒ ByteString)(implicit ct: ContentTypeOf[A]): Writeable[A]

    Permalink

    Creates a Writeable[A] using a content type for A available in the implicit scope

    Creates a Writeable[A] using a content type for A available in the implicit scope

    transform

    Serializing function

  5. def apply[A](transform: (A) ⇒ ByteString, contentType: Option[String]): Writeable[A]

    Permalink
  6. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. implicit val wByteArray: Writeable[Array[Byte]]

    Permalink

    Straightforward Writeable for Array[Byte] values.

    Straightforward Writeable for Array[Byte] values.

    Definition Classes
    DefaultWriteables
  20. implicit val wBytes: Writeable[ByteString]

    Permalink

    Straightforward Writeable for ByteString values.

    Straightforward Writeable for ByteString values.

    Definition Classes
    DefaultWriteables
  21. implicit def wString(implicit codec: Codec): Writeable[String]

    Permalink

    Straightforward Writeable for String values.

    Straightforward Writeable for String values.

    Definition Classes
    DefaultWriteables
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. implicit def writeableOf_Content[C <: Content](implicit codec: Codec, ct: ContentTypeOf[C]): Writeable[C]

    Permalink

    Writeable for play.twirl.api.Content values.

    Writeable for play.twirl.api.Content values.

    Definition Classes
    LowPriorityWriteables
  26. implicit val writeableOf_EmptyContent: Writeable[EmptyContent]

    Permalink

    Writeable for empty responses.

    Writeable for empty responses.

    Definition Classes
    DefaultWriteables
  27. def writeableOf_JsValue(codec: Codec, contentType: Option[String] = None): Writeable[JsValue]

    Permalink

    Writeable for JsValue values using an arbitrary codec.

    Writeable for JsValue values using an arbitrary codec. Can be used to force a non-UTF-8 encoding for JSON.

    Definition Classes
    DefaultWriteables
  28. implicit def writeableOf_JsValue: Writeable[JsValue]

    Permalink

    Writeable for JsValue values that writes to UTF-8, so they can be sent with the application/json media type.

    Writeable for JsValue values that writes to UTF-8, so they can be sent with the application/json media type.

    Definition Classes
    DefaultWriteables
  29. def writeableOf_MultipartFormData[A](codec: Codec, aWriteable: Writeable[FilePart[A]]): Writeable[MultipartFormData[A]]

    Permalink

    Writeable for MultipartFormData.

    Writeable for MultipartFormData.

    Definition Classes
    DefaultWriteables
  30. def writeableOf_MultipartFormData(codec: Codec, contentType: Option[String]): Writeable[MultipartFormData[TemporaryFile]]

    Permalink

    Writeable for MultipartFormData when using TemporaryFiles.

    Writeable for MultipartFormData when using TemporaryFiles.

    Definition Classes
    DefaultWriteables
  31. implicit def writeableOf_NodeBuffer(implicit codec: Codec): Writeable[NodeBuffer]

    Permalink

    Writeable for NodeBuffer values - literal Scala XML.

    Writeable for NodeBuffer values - literal Scala XML.

    Definition Classes
    DefaultWriteables
  32. implicit def writeableOf_NodeSeq[C <: NodeSeq](implicit codec: Codec): Writeable[C]

    Permalink

    Writeable for NodeSeq values - literal Scala XML.

    Writeable for NodeSeq values - literal Scala XML.

    Definition Classes
    DefaultWriteables
  33. implicit def writeableOf_XmlContent(implicit codec: Codec, ct: ContentTypeOf[Xml]): Writeable[Xml]

    Permalink

    Writeable for play.twirl.api.Xml values.

    Writeable for play.twirl.api.Xml values. Trims surrounding whitespace.

    Definition Classes
    DefaultWriteables
  34. implicit def writeableOf_urlEncodedForm(implicit codec: Codec): Writeable[Map[String, Seq[String]]]

    Permalink

    Writeable for urlEncodedForm values

    Writeable for urlEncodedForm values

    Definition Classes
    DefaultWriteables

Inherited from DefaultWriteables

Inherited from LowPriorityWriteables

Inherited from AnyRef

Inherited from Any

Ungrouped