com
.
github
.
agourlay
.
cornichon
.
http
HttpDsl
Related Docs:
object HttpDsl
|
package http
trait
HttpDsl
extends
HttpDslOps
with
HttpRequestsDsl
Self Type
BaseFeature
with
Dsl
Linear Supertypes
HttpRequestsDsl
,
HttpDslOps
,
AnyRef
,
Any
Known Subclasses
BaseFeature
Ordering
Alphabetic
By Inheritance
Inherited
HttpDsl
HttpRequestsDsl
HttpDslOps
AnyRef
Any
Hide All
Show All
Visibility
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
WithBasicAuth
(
userName:
String
,
password:
String
)
:
BodyElementCollector
[
Step
,
Seq
[
Step
]]
def
WithHeaders
(
headers: (
String
,
String
)*
)
:
BodyElementCollector
[
Step
,
Seq
[
Step
]]
def
addToWithHeaders
(
name:
String
,
value:
String
)
(
s:
Session
)
:
Either
[
CornichonError
,
Session
]
Definition Classes
HttpDslOps
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
lazy val
baseUrl
:
String
def
body
:
JsonStepBuilder
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
delete
(
url:
String
)
:
HttpRequest
[
String
]
Definition Classes
HttpRequestsDsl
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]
)
def
get
(
url:
String
)
:
HttpRequest
[
String
]
Definition Classes
HttpRequestsDsl
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
head
(
url:
String
)
:
HttpRequest
[
String
]
Definition Classes
HttpRequestsDsl
def
headers
:
HeadersStepBuilder
lazy val
http
:
HttpService
implicit
def
httpRequestToStep
[
A
]
(
request:
HttpRequest
[
A
]
)
(
implicit
arg0:
Show
[
A
]
,
arg1:
Resolvable
[
A
]
,
arg2:
Encoder
[
A
]
)
:
EffectStep
def
httpServiceByURL
(
baseUrl:
String
,
timeout:
FiniteDuration
=
requestTimeout
)
:
HttpService
implicit
def
httpStreamedRequestToStep
(
request:
HttpStreamedRequest
)
:
EffectStep
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
def
open_sse
(
url:
String
,
takeWithin:
FiniteDuration
)
:
HttpStreamedRequest
def
options
(
url:
String
)
:
HttpRequest
[
String
]
Definition Classes
HttpRequestsDsl
def
patch
(
url:
String
)
:
HttpRequest
[
String
]
Definition Classes
HttpRequestsDsl
def
post
(
url:
String
)
:
HttpRequest
[
String
]
Definition Classes
HttpRequestsDsl
def
put
(
url:
String
)
:
HttpRequest
[
String
]
Definition Classes
HttpRequestsDsl
implicit
def
queryGqlToHttpRequest
(
queryGQL:
QueryGQL
)
:
HttpRequest
[
String
]
implicit
def
queryGqlToStep
(
queryGQL:
QueryGQL
)
:
EffectStep
def
query_gql
(
url:
String
)
:
QueryGQL
def
removeFromWithHeaders
(
name:
String
)
(
s:
Session
)
:
Either
[
CornichonError
,
Session
]
Definition Classes
HttpDslOps
lazy val
requestTimeout
:
FiniteDuration
def
save_body
(
target:
String
)
:
EffectStep
def
save_body_path
(
args: (
String
,
String
)*
)
:
EffectStep
def
save_header_value
(
args: (
String
,
String
)*
)
:
EffectStep
def
show_last_body
:
DebugStep
def
show_last_body_json
:
DebugStep
def
show_last_headers
:
DebugStep
def
show_last_response
:
DebugStep
def
show_last_response_json
:
DebugStep
def
show_last_status
:
DebugStep
def
show_with_headers
:
DebugStep
def
status
:
StatusStepBuilder
.type
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
(
...
)
Inherited from
HttpRequestsDsl
Inherited from
HttpDslOps
Inherited from
AnyRef
Inherited from
Any
Ungrouped