object Entity
Provides factory for Entity
.
- Alphabetic
- By Inheritance
- Entity
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(multipart: Multipart, boundary: String): Entity
Creates entity from supplied multipart form data.
- def apply(query: QueryString): Entity
Creates entity from supplied query string.
Creates entity from supplied query string.
- Note
The query string is encoded as
application/x-www-form-urlencoded
.
- def apply(one: (String, String), more: (String, String)*): Entity
Creates entity from supplied form data.
Creates entity from supplied form data.
- Note
The data is encoded as
application/x-www-form-urlencoded
.
- def apply(data: Seq[(String, String)]): Entity
Creates entity from supplied form data.
Creates entity from supplied form data.
- Note
The data is encoded as
application/x-www-form-urlencoded
.
- def apply(data: Map[String, Seq[String]]): Entity
Creates entity from supplied form data.
Creates entity from supplied form data.
- Note
The data is encoded as
application/x-www-form-urlencoded
.
- def apply(text: String, charset: String = "UTF-8"): Entity
Creates entity from supplied text.
- def apply(file: File): Entity
Creates entity from supplied file.
- def apply(writer: (OutputStream) => Unit): Entity
Creates entity from supplied writer.
Creates entity from supplied writer.
- Note
An output stream is passed to
writer
, and bytes written to the output stream are used to build entity.
- def apply(in: InputStream): Entity
Creates entity from supplied input stream.
- def apply(bytes: Array[Byte]): Entity
Creates entity from supplied bytes.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def empty: Entity
Gets empty entity.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Provided herein is API documentation for Scamper, the HTTP library for Scala.