StringContent

spice.http.content.StringContent
case class StringContent(value: String, contentType: ContentType, lastModified: Long) extends Content

Attributes

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 toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
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