- All Superinterfaces:
ParamLookup
- Enclosing interface:
- ParamLookup
Fluent interface allowing to conveniently search context parameters in multiple sources.
Value foo = ctx.lookup()
.inQuery()
.inPath()
.get("foo");
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jooby.ParamLookup
ParamLookup.Stage
-
Method Summary
Modifier and TypeMethodDescriptionWraps the result ofget(String)
in anOptional
if the value is aValueNode
or returns an emptyOptional
otherwise.
-
Method Details
-
get
-
getNode
Wraps the result ofget(String)
in anOptional
if the value is aValueNode
or returns an emptyOptional
otherwise.- Parameters:
name
- The name of the parameter.- Returns:
- An
Optional
wrapping the result ofget(String)
-