http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-openfeature-fake
/
org.http4k.connect.openfeature
/
FakeOpenFeature
Fake
Open
Feature
class
FakeOpenFeature
(
val
rules
:
MutableList
<
FlagRule
>
=
mutableListOf()
)
:
ChaoticHttpHandler
(
source
)
Members
Constructors
Fake
Open
Feature
Link copied to clipboard
constructor
(
rules
:
MutableList
<
FlagRule
>
=
mutableListOf()
)
Types
Rule
Builder
Link copied to clipboard
inner
class
RuleBuilder
Properties
rules
Link copied to clipboard
val
rules
:
MutableList
<
FlagRule
>
Functions
behave
Link copied to clipboard
fun
behave
(
)
:
ChaosEngine
client
Link copied to clipboard
fun
client
(
)
:
OpenFeature
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
rule
Link copied to clipboard
fun
rule
(
key
:
FlagKey
,
predicate
:
(
EvaluationContext
)
->
Boolean
)
:
FakeOpenFeature.RuleBuilder
set
Link copied to clipboard
operator
fun
set
(
key
:
FlagKey
,
value
:
Any
?
)