com
.
github
.
agourlay
.
cornichon
http
package
http
Visibility
Public
All
Type Members
trait
BaseRequest
extends
AnyRef
case class
CornichonHttpResponse
(
status:
Int
,
headers:
Seq
[(
String
,
String
)] =
Nil
,
body:
String
)
extends
Product
with
Serializable
trait
HttpDsl
extends
HttpRequestsDsl
sealed
trait
HttpError
extends
Exception
with
CornichonError
with
NoStackTrace
case class
HttpMethod
(
name:
String
)
extends
Product
with
Serializable
case class
HttpRequest
[
A
]
(
method:
HttpMethod
,
url:
String
,
body:
Option
[
A
]
,
params:
Seq
[(
String
,
String
)]
,
headers:
Seq
[(
String
,
String
)]
)
(
implicit
evidence$1:
Show
[
A
]
,
evidence$2:
Resolvable
[
A
]
,
evidence$3:
Encoder
[
A
]
)
extends
BaseRequest
with
Product
with
Serializable
trait
HttpRequestsDsl
extends
AnyRef
class
HttpService
extends
AnyRef
case class
HttpStream
(
name:
String
)
extends
Product
with
Serializable
case class
HttpStreamedRequest
(
stream:
HttpStream
,
url:
String
,
takeWithin:
FiniteDuration
,
params:
Seq
[(
String
,
String
)]
,
headers:
Seq
[(
String
,
String
)]
)
extends
BaseRequest
with
Product
with
Serializable
case class
MalformedHeadersError
(
error:
String
)
extends
Exception
with
CornichonError
with
Product
with
Serializable
case class
PathExtractor
(
path:
String
,
targetKey:
String
)
extends
ResponseExtractor
with
Product
with
Serializable
case class
QueryGQL
(
url:
String
,
query:
Document
,
operationName:
Option
[
String
] =
None
,
variables:
Option
[
Map
[
String
,
Json
]] =
None
)
extends
Product
with
Serializable
case class
RequestError
(
e:
Throwable
,
url:
String
)
extends
Exception
with
HttpError
with
Product
with
Serializable
sealed
trait
ResponseExtractor
extends
AnyRef
case class
RootExtractor
(
targetKey:
String
)
extends
ResponseExtractor
with
Product
with
Serializable
case class
SseError
(
e:
Throwable
)
extends
Exception
with
HttpError
with
Product
with
Serializable
case class
StatusNonExpected
(
expected:
Int
,
response:
CornichonHttpResponse
)
extends
Exception
with
HttpError
with
Product
with
Serializable
case class
TimeoutError
(
details:
String
,
url:
String
)
extends
Exception
with
HttpError
with
Product
with
Serializable
case class
UnmarshallingResponseError
(
e:
Throwable
,
response:
String
)
extends
Exception
with
HttpError
with
Product
with
Serializable
case class
WsUpgradeError
(
status:
Int
)
extends
Exception
with
HttpError
with
Product
with
Serializable
Value Members
object
HttpAssertionErrors
object
HttpAssertions
object
HttpMethods
object
HttpRequest
extends
HttpRequestsDsl
with
Serializable
object
HttpService
object
HttpStreams
object
NoOpExtraction
extends
ResponseExtractor
package
client
package
server
Ungrouped