com
.
avsystem
.
commons
.
rest
HttpBody
Related Docs:
trait HttpBody
|
package rest
object
HttpBody
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
HttpBody
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
final
case class
NonEmpty
(
content:
String
,
mimeType:
String
)
extends
HttpBody
with
Product
with
Serializable
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
object
Empty
extends
HttpBody
with
Product
with
Serializable
final
val
FormType
: String("application/x-www-form-urlencoded")
final
val
JsonType
: String("application/json")
final
val
PlainType
: String("text/plain")
def
apply
(
content:
String
,
mimeType:
String
)
:
HttpBody
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
implicit
def
asRawNotFound
[
T
]
(
implicit
forJson:
ImplicitNotFound
[
AsRaw
[
JsonValue
,
T
]]
)
:
ImplicitNotFound
[
AsRaw
[
HttpBody
,
T
]]
Annotations
@implicitNotFound
(
...
)
implicit
def
asRealNotFound
[
T
]
(
implicit
forJson:
ImplicitNotFound
[
AsReal
[
JsonValue
,
T
]]
)
:
ImplicitNotFound
[
AsReal
[
HttpBody
,
T
]]
Annotations
@implicitNotFound
(
...
)
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
createFormBody
(
values:
Mapping
[
QueryValue
]
)
:
HttpBody
def
createJsonBody
(
fields:
Mapping
[
JsonValue
]
)
:
HttpBody
def
empty
:
HttpBody
implicit
val
emptyBodyForUnit
:
AsRawReal
[
HttpBody
,
Unit
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
implicit
def
httpBodyJsonAsRaw
[
T
]
(
implicit
jsonAsRaw:
AsRaw
[
JsonValue
,
T
]
)
:
AsRaw
[
HttpBody
,
T
]
implicit
def
httpBodyJsonAsReal
[
T
]
(
implicit
jsonAsReal:
AsReal
[
JsonValue
,
T
]
)
:
AsReal
[
HttpBody
,
T
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
json
(
json:
JsonValue
)
:
HttpBody
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
parseFormBody
(
body:
HttpBody
)
:
Mapping
[
QueryValue
]
def
parseJsonBody
(
body:
HttpBody
)
:
Mapping
[
JsonValue
]
def
plain
(
content:
commons.OptArg
[
String
] =
OptArg.Empty
)
:
HttpBody
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unapply
(
body:
HttpBody
)
:
commons.Opt
[(
String
,
String
)]
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
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped