public static interface ParamLookup.Stage extends ParamLookup
Value foo = ctx.lookup()
.inQuery()
.inPath()
.get("foo");
ParamLookup.Stage
Modifier and Type | Method and Description |
---|---|
Value |
get(String name)
|
default Optional<ValueNode> |
getNode(String name)
Wraps the result of
get(String) in an Optional if the
value is a ValueNode or returns an empty Optional
otherwise. |
in, inCookie, inFlash, inForm, inHeader, inMultipart, inPath, inQuery, inSession
default Optional<ValueNode> getNode(String name)
get(String)
in an Optional
if the
value is a ValueNode
or returns an empty Optional
otherwise.name
- The name of the parameter.Optional
wrapping the result of get(String)
Copyright © 2020. All rights reserved.