toggle menu
http4k
6.15.0.1
jvm
switch theme
search in API
http4k-connect-amazon-firehose-fake
/
org.http4k.connect.amazon.firehose
/
FakeFirehose
Fake
Firehose
class
FakeFirehose
(
val
records
:
Storage
<
List
<
Record
>
>
=
Storage.InMemory()
)
:
ChaoticHttpHandler
Members
Constructors
Fake
Firehose
Link copied to clipboard
constructor
(
records
:
Storage
<
List
<
Record
>
>
=
Storage.InMemory()
)
Properties
records
Link copied to clipboard
val
records
:
Storage
<
List
<
Record
>
>
Functions
behave
Link copied to clipboard
fun
behave
(
)
:
ChaosEngine
client
Link copied to clipboard
fun
client
(
)
:
Firehose
Convenience function to get a Firehose client
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
request
:
Request
)
:
Response
misbehave
Link copied to clipboard
fun
misbehave
(
stage
:
Stage
)
:
ChaosEngine
fun
misbehave
(
behaviour
:
Behaviour
)
:
ChaosEngine
return
Status
Link copied to clipboard
fun
returnStatus
(
status
:
Status
)
:
ChaosEngine