Content

spice.http.content.Content
See theContent companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Content.type

Members list

Type members

Classlikes

case object none extends Content

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all
Self type
none.type

Value members

Inherited methods

def bytes(value: Array[Byte], contentType: ContentType): Content

Attributes

Inherited from:
SharedContentHelpers
override def classPath(path: String, contentType: ContentType): Content

Attributes

Definition Classes
Inherited from:
ContentHelpers
override def classPath(url: URL): Content

Attributes

Definition Classes
Inherited from:
ContentHelpers
def classPath(path: String): Content

Attributes

Inherited from:
SharedContentHelpers
def classPathOption(path: String): Option[Content]

Attributes

Inherited from:
SharedContentHelpers
override def file(file: File, contentType: ContentType): Content

Attributes

Definition Classes
Inherited from:
ContentHelpers
override def file(file: File): Content

Attributes

Definition Classes
Inherited from:
ContentHelpers
def graphql(query: String, operationName: Option[String], variables: List[(String, Json)]): Content

Attributes

Inherited from:
SharedContentHelpers
def json(value: Json, compact: Boolean): Content

Attributes

Inherited from:
SharedContentHelpers
def jsonFrom[T : RW](value: T, compact: Boolean): Content

Attributes

Inherited from:
SharedContentHelpers
def string(value: String, contentType: ContentType): Content

Attributes

Inherited from:
SharedContentHelpers
override def url(url: URL, contentType: ContentType): Content

Attributes

Definition Classes
Inherited from:
ContentHelpers
override def url(url: URL): Content

Attributes

Definition Classes
Inherited from:
ContentHelpers

Inherited fields

val empty: Content

Attributes

Inherited from:
SharedContentHelpers

Implicits

Implicits

implicit val rw: RW[Content]

Inherited implicits

implicit def file2Content(file: File): Content

Attributes

Inherited from:
ContentHelpers
implicit def url2Content(url: URL): Content

Attributes

Inherited from:
ContentHelpers