- All Known Subinterfaces:
ParamLookup.Stage
public interface ParamLookup
Fluent interface allowing to conveniently search context parameters in multiple sources.
Value foo = ctx.lookup()
.inQuery()
.inPath()
.get("foo");
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Fluent interface allowing to conveniently search context parameters in multiple sources. -
Method Summary
Modifier and TypeMethodDescriptionin
(ParamSource source) Adds the specified source to the search locations.default ParamLookup.Stage
inCookie()
Adds the cookie parameters to the search locations.default ParamLookup.Stage
inFlash()
Adds the flash parameters to the search locations.default ParamLookup.Stage
inForm()
Adds the form parameters to the search locations.default ParamLookup.Stage
inHeader()
Adds the header parameters to the search locations.default ParamLookup.Stage
inPath()
Adds the path parameters to the search locations.default ParamLookup.Stage
inQuery()
Adds the query parameters to the search locations.default ParamLookup.Stage
Adds the session parameters to the search locations.
-
Method Details
-
in
Adds the specified source to the search locations.- Parameters:
source
- The source to add.- Returns:
- This instance.
-
inPath
Adds the path parameters to the search locations.- Returns:
- This instance.
-
inHeader
Adds the header parameters to the search locations.- Returns:
- This instance.
-
inCookie
Adds the cookie parameters to the search locations.- Returns:
- This instance.
-
inFlash
Adds the flash parameters to the search locations.- Returns:
- This instance.
-
inSession
Adds the session parameters to the search locations.- Returns:
- This instance.
-
inQuery
Adds the query parameters to the search locations.- Returns:
- This instance.
-
inForm
Adds the form parameters to the search locations.- Returns:
- This instance.
-