toggle menu
http4k
LOCAL
jvm
switch theme
search in API
http4k-core
/
org.http4k.lens
/
RequestContextKey
Request
Context
Key
object
RequestContextKey
Members
Functions
defaulted
Link copied to clipboard
fun
<
T
>
defaulted
(
store
:
Store
<
RequestContext
>
,
default
:
T
,
name
:
String
=
UUID.randomUUID().toString()
)
:
BiDiLens
<
Request
,
T
>
optional
Link copied to clipboard
fun
<
T
>
optional
(
store
:
Store
<
RequestContext
>
,
name
:
String
=
UUID.randomUUID().toString()
)
:
BiDiLens
<
Request
,
T
?
>
required
Link copied to clipboard
fun
<
T
>
required
(
store
:
Store
<
RequestContext
>
,
name
:
String
=
UUID.randomUUID().toString()
)
:
RequestContextLens
<
T
>