github4s
.
HttpClient
HttpRequestBuilder
Related Doc:
package HttpClient
case class
HttpRequestBuilder
(
url:
String
,
httVerb:
HttpVerb
=
Get
,
connectionTimeout:
Int
=
connTimeoutMs
,
readTimeOut:
Int
=
readTimeoutMs
,
authHeader:
Map
[
String
,
String
] =
Map.empty[String, String]
,
data:
Option
[
String
] =
None
,
params:
Map
[
String
,
String
] =
Map.empty[String, String]
,
headers:
Map
[
String
,
String
] =
Map.empty[String, String]
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
HttpRequestBuilder
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
HttpRequestBuilder
(
url:
String
,
httVerb:
HttpVerb
=
Get
,
connectionTimeout:
Int
=
connTimeoutMs
,
readTimeOut:
Int
=
readTimeoutMs
,
authHeader:
Map
[
String
,
String
] =
Map.empty[String, String]
,
data:
Option
[
String
] =
None
,
params:
Map
[
String
,
String
] =
Map.empty[String, String]
,
headers:
Map
[
String
,
String
] =
Map.empty[String, String]
)
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
authHeader
:
Map
[
String
,
String
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
connectionTimeout
:
Int
val
data
:
Option
[
String
]
def
deleteMethod
:
HttpRequestBuilder
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
headers
:
Map
[
String
,
String
]
val
httVerb
:
HttpVerb
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
params
:
Map
[
String
,
String
]
def
patchMethod
:
HttpRequestBuilder
def
postMethod
:
HttpRequestBuilder
def
putMethod
:
HttpRequestBuilder
val
readTimeOut
:
Int
def
run
:
HttpResponse
[
String
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
url
:
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
(
...
)
def
withAuth
(
accessToken:
Option
[
String
] =
None
)
:
HttpRequestBuilder
def
withData
(
data:
String
)
:
HttpRequestBuilder
def
withHeaders
(
headers:
Map
[
String
,
String
]
)
:
HttpRequestBuilder
def
withParams
(
params:
Map
[
String
,
String
]
)
:
HttpRequestBuilder
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped