ContentHelpers

spice.http.content.ContentHelpers

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Content.type

Members list

Concise view

Value members

Concrete methods

override def classPath(url: URL): Content

Attributes

Definition Classes
override def classPath(path: String, contentType: ContentType): Content

Attributes

Definition Classes
override def file(file: File): Content

Attributes

Definition Classes
override def file(file: File, contentType: ContentType): Content

Attributes

Definition Classes
override def url(url: URL): Content

Attributes

Definition Classes
override def url(url: URL, contentType: ContentType): Content

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
SharedContentHelpers
def classPath(path: String): Content

Attributes

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

Attributes

Inherited from:
SharedContentHelpers
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 : Reader](value: T, compact: Boolean): Content

Attributes

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

Attributes

Inherited from:
SharedContentHelpers

Inherited fields

Attributes

Inherited from:
SharedContentHelpers

Attributes

Inherited from:
SharedContentHelpers

Implicits

Implicits

implicit def file2Content(file: File): Content
implicit def url2Content(url: URL): Content