toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-incubator
/
org.http4k.lens
/
TypedField
/
Optional
Optional
class
Optional
<
IN
:
HttpMessage
,
OUT
:
Any
>
(
spec
:
BiDiLensBuilder
<
IN
,
OUT
>
)
:
ReadWriteProperty
<
IN
,
OUT
?
>
,
TypedField
<
IN
,
OUT
>
Members
Constructors
Optional
Link copied to clipboard
constructor
(
spec
:
BiDiLensBuilder
<
IN
,
OUT
>
)
Functions
get
Value
Link copied to clipboard
open
operator override
fun
getValue
(
thisRef
:
IN
,
property
:
KProperty
<
*
>
)
:
OUT
?
set
Value
Link copied to clipboard
open
operator override
fun
setValue
(
thisRef
:
IN
,
property
:
KProperty
<
*
>
,
value
:
OUT
?
)