com
.
softwaremill
.
sttp
RequestT
Related Doc:
package sttp
case class
RequestT
[
U
[
_
]
,
T
,
+S
]
(
method:
U
[
Method
]
,
uri:
U
[
Uri
]
,
body:
RequestBody
[
S
]
,
headers:
Seq
[(
String
,
String
)]
,
response:
ResponseAs
[
T
,
S
]
,
options:
RequestOptions
,
tags:
Map
[
String
,
Any
]
)
extends
RequestTExtensions
[
U
,
T
,
S
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
RequestTExtensions
[
U
,
T
,
S
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
RequestT
Serializable
Serializable
Product
Equals
RequestTExtensions
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
RequestT
(
method:
U
[
Method
]
,
uri:
U
[
Uri
]
,
body:
RequestBody
[
S
]
,
headers:
Seq
[(
String
,
String
)]
,
response:
ResponseAs
[
T
,
S
]
,
options:
RequestOptions
,
tags:
Map
[
String
,
Any
]
)
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
acceptEncoding
(
encoding:
String
)
:
RequestT
[
U
,
T
,
S
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
auth
:
SpecifyAuthScheme
[
U
,
T
,
S
]
def
body
(
fs:
Seq
[(
String
,
String
)]
,
encoding:
String
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
fs: (
String
,
String
)*
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
fs:
Map
[
String
,
String
]
,
encoding:
String
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
fs:
Map
[
String
,
String
]
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
b:
InputStream
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
b:
ByteBuffer
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
b:
Array
[
Byte
]
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
b:
String
,
encoding:
String
)
:
RequestT
[
U
,
T
,
S
]
def
body
(
b:
String
)
:
RequestT
[
U
,
T
,
S
]
def
body
[
B
]
(
b:
B
)
(
implicit
arg0:
BodySerializer
[
B
]
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
def
body
(
path:
Path
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
def
body
(
file:
File
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
val
body
:
RequestBody
[
S
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
contentLength
(
l:
Long
)
:
RequestT
[
U
,
T
,
S
]
def
contentType
(
ct:
String
,
encoding:
String
)
:
RequestT
[
U
,
T
,
S
]
def
contentType
(
ct:
String
)
:
RequestT
[
U
,
T
,
S
]
def
cookie
(
n:
String
,
v:
String
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
def
cookie
(
nv: (
String
,
String
)
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
def
cookies
(
nvs: (
String
,
String
)*
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
def
cookies
(
cs:
Seq
[
Cookie
]
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
def
cookies
(
r:
Response
[_]
)
:
RequestT
[
U
,
T
,
S
]
Definition Classes
RequestTExtensions
def
delete
(
uri:
Uri
)
:
Request
[
T
,
S
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
followRedirects
(
fr:
Boolean
)
:
RequestT
[
U
,
T
,
S
]
def
get
(
uri:
Uri
)
:
Request
[
T
,
S
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
head
(
uri:
Uri
)
:
Request
[
T
,
S
]
def
header
(
k:
String
,
v:
String
,
replaceExisting:
Boolean
=
false
)
:
RequestT
[
U
,
T
,
S
]
def
headers
(
hs: (
String
,
String
)*
)
:
RequestT
[
U
,
T
,
S
]
def
headers
(
hs:
Map
[
String
,
String
]
)
:
RequestT
[
U
,
T
,
S
]
val
headers
:
Seq
[(
String
,
String
)]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mapResponse
[
T2
]
(
f: (
T
) ⇒
T2
)
:
RequestT
[
U
,
T2
,
S
]
def
maxRedirects
(
n:
Int
)
:
RequestT
[
U
,
T
,
S
]
val
method
:
U
[
Method
]
def
multipartBody
(
p1:
Multipart
,
ps:
Multipart
*
)
:
RequestT
[
U
,
T
,
S
]
def
multipartBody
(
ps:
Seq
[
Multipart
]
)
:
RequestT
[
U
,
T
,
S
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
options
(
uri:
Uri
)
:
Request
[
T
,
S
]
val
options
:
RequestOptions
def
patch
(
uri:
Uri
)
:
Request
[
T
,
S
]
def
post
(
uri:
Uri
)
:
Request
[
T
,
S
]
def
proxyAuth
:
SpecifyAuthScheme
[
U
,
T
,
S
]
def
put
(
uri:
Uri
)
:
Request
[
T
,
S
]
def
readTimeout
(
t:
Duration
)
:
RequestT
[
U
,
T
,
S
]
def
response
[
T2
,
S2 >:
S
]
(
ra:
ResponseAs
[
T2
,
S2
]
)
:
RequestT
[
U
,
T2
,
S2
]
val
response
:
ResponseAs
[
T
,
S
]
def
send
[
R
[
_
]
]
()
(
implicit
backend:
SttpBackend
[
R
,
S
]
,
isIdInRequest:
IsIdInRequest
[
U
]
)
:
R
[
Response
[
T
]]
def
streamBody
[
S2 >:
S
]
(
b:
S2
)
:
RequestT
[
U
,
T
,
S2
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tag
(
k:
String
)
:
Option
[
Any
]
def
tag
(
k:
String
,
v:
Any
)
:
RequestT
[
U
,
T
,
S
]
val
tags
:
Map
[
String
,
Any
]
val
uri
:
U
[
Uri
]
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
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
RequestTExtensions
[
U
,
T
,
S
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped