Query string class for direct MVC parameter provisioning.
- Since:
- 2.0.0
- Author:
- edgar
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryString
Query string hash value.Query string with the leading?
or empty string.Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface io.jooby.Value
booleanValue, booleanValue, byteValue, byteValue, doubleValue, doubleValue, floatValue, floatValue, intValue, intValue, isArray, isMissing, isObject, isPresent, isSingle, longValue, longValue, name, to, toEnum, toEnum, toList, toList, toMap, toMultimap, toNullable, toOptional, toOptional, toSet, toSet, value, value, value, valueOrNull
-
Method Details
-
queryString
Query string with the leading?
or empty string.- Returns:
- Query string with the leading
?
or empty string.
-
create
Query string hash value.
Produces:q=foo&sort=name
{q: foo, sort: name}
- Parameters:
ctx
- Current context.queryString
- Query string.- Returns:
- A query string.
-