HttpEntity

com.sksamuel.elastic4s.HttpEntity$
See theHttpEntity companion trait
object HttpEntity

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HttpEntity.type

Members list

Type members

Classlikes

case class ByteArrayEntity(content: Array[Byte], contentCharset: Option[String]) extends HttpEntity

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HttpEntity
class Object
trait Matchable
class Any
Show all
case class FileEntity(content: File, contentCharset: Option[String]) extends HttpEntity

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HttpEntity
class Object
trait Matchable
class Any
Show all
case class InputStreamEntity(content: InputStream, contentCharset: Option[String]) extends HttpEntity

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HttpEntity
class Object
trait Matchable
class Any
Show all
case class StringEntity(content: String, contentCharset: Option[String]) extends HttpEntity

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait HttpEntity
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(content: String): HttpEntity
def apply(content: String, contentType: String): HttpEntity