trait DefaultWriteables extends LowPriorityWriteables
- Alphabetic
- By Inheritance
- DefaultWriteables
- LowPriorityWriteables
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit val wByteArray: Writeable[Array[Byte]]
Straightforward
Writeable
for Array[Byte] values. - implicit val wBytes: Writeable[ByteString]
Straightforward
Writeable
for ByteString values. - implicit def wString(implicit codec: Codec): Writeable[String]
Straightforward
Writeable
for String values. - final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- implicit def writeableOf_Content[C <: Content](implicit codec: Codec, ct: ContentTypeOf[C]): Writeable[C]
Writeable
forplay.twirl.api.Content
values.Writeable
forplay.twirl.api.Content
values.- Definition Classes
- LowPriorityWriteables
- implicit val writeableOf_EmptyContent: Writeable[EmptyContent]
Writeable
for empty responses. - def writeableOf_JsValue(codec: Codec, contentType: Option[String] = None): Writeable[JsValue]
Writeable
forJsValue
values using an arbitrary codec.Writeable
forJsValue
values using an arbitrary codec. Can be used to force a non-UTF-8 encoding for JSON. - implicit def writeableOf_JsValue: Writeable[JsValue]
Writeable
forJsValue
values that writes to UTF-8, so they can be sent with the application/json media type. - def writeableOf_MultipartFormData[A](boundary: Option[String])(implicit codec: Codec): Writeable[MultipartFormData[A]]
Writeable
forMultipartFormData
.Writeable
forMultipartFormData
.If you pass a boundary, it will be used to separate the data/file parts of the multipart/form-data body. If you don't pass a boundary a random one will be generated.
- implicit def writeableOf_NodeBuffer(implicit codec: Codec): Writeable[NodeBuffer]
Writeable
forNodeBuffer
values - literal Scala XML. - implicit def writeableOf_NodeSeq[C <: NodeSeq](implicit codec: Codec): Writeable[C]
Writeable
forNodeSeq
values - literal Scala XML. - implicit def writeableOf_XmlContent(implicit codec: Codec, ct: ContentTypeOf[Xml]): Writeable[Xml]
Writeable
forplay.twirl.api.Xml
values.Writeable
forplay.twirl.api.Xml
values. Trims surrounding whitespace. - implicit def writeableOf_urlEncodedForm(implicit codec: Codec): Writeable[Map[String, Seq[String]]]
Writeable
forurlEncodedForm
values
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def writeableOf_MultipartFormData[A](codec: Codec, contentType: Option[String]): Writeable[MultipartFormData[A]]
Writeable
forMultipartFormData
.Writeable
forMultipartFormData
.If you pass a contentType which contains a boundary, this boundary will be used to separate the data/file parts of the multipart/form-data body. If you don't pass a contentType, or it does not contain a boundary, a random one will be generated.
- Annotations
- @deprecated
- Deprecated
(Since version 2.9.0) Use method that takes boundary and implicit codec
- def writeableOf_MultipartFormData[A](codec: Codec, aWriteable: Writeable[FilePart[A]]): Writeable[MultipartFormData[A]]
Writeable
forMultipartFormData
.Writeable
forMultipartFormData
.If the passed writeable contains a contentType with a boundary, this boundary will be used to separate the data/file parts of the multipart/form-data body. If you don't pass a contentType with the writeable, or it does not contain a boundary, a random one will be generated.
- Annotations
- @deprecated
- Deprecated
(Since version 2.9.0) Use method that takes boundary and implicit codec