StringContent

final case
class StringContent(asString: String) extends BodyContent
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def isEmpty: Boolean

Inherited methods

final
def charsetOrUtf8: Charset
Inherited from
BodyContent
final
def contentDecode: Either[CharacterCodingException, String]
Inherited from
BodyContent
final override
def equals(that: Any): Boolean
Definition Classes
Inherited from
BodyContent
final override
def hashCode(): Int
Definition Classes
Inherited from
BodyContent
def nonEmpty: Boolean
Inherited from
BodyContent
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

lazy
val bytes: ByteVector
val charset: Option[Charset]