object Entity
Provides factory methods for Entity
.
- Alphabetic
- By Inheritance
- Entity
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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.An output stream is passed to
writer
, and bytes written to the output stream are used to build the 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( ... ) @native()
-
def
empty: Entity
Gets empty
Entity
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()