JsonContent

spice.http.content.JsonContent
See theJsonContent companion object
case class JsonContent(json: Json, compact: Boolean, contentType: ContentType, lastModified: Long) extends Content

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def asString: String

Attributes

Definition Classes
override def length: Long

Attributes

Definition Classes
override def withContentType(contentType: ContentType): Content

Attributes

Definition Classes
override def withLastModified(lastModified: Long): Content

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val value: String