Uses of Interface
io.vertx.uritemplate.Variables
-
-
Uses of Variables in io.vertx.uritemplate
Methods in io.vertx.uritemplate that return Variables Modifier and Type Method Description VariablesVariables. addAll(JsonObject json)Populates with a JSON object:nullare conservedJsonArrayis converted toList<String>JsonObjectis converted toMap<String, String>any other value is converted to a string Note that nested JSON elements are converted to a string, so { "user": { "first_name": "John", "last_name": "Doe", "address" : { "city": "Paris", etc... } } } flattens the JSON "address" to the string "{\"city\":\"Paris\",etc...}".VariablesVariables. clear()VariablesVariables. set(String name, String value)Set a single variable.VariablesVariables. set(String name, List<String> value)Set a list variable.VariablesVariables. set(String name, Map<String,String> value)Set a map variable.default VariablesVariables. setAll(JsonObject json)LikeaddAll(JsonObject)but overwrites previous variables.static VariablesVariables. variables()static VariablesVariables. variables(JsonObject json)Create an instance populated from a JSON object:nullare conservedJsonArrayis converted toList<String>JsonObjectis converted toMap<String, String>any other value is converted to a string Note that nested JSON elements are converted to a string, so { "user": { "first_name": "John", "last_name": "Doe", "address" : { "city": "Paris", etc... } } } flattens the JSON "address" to the string "{\"city\":\"Paris\",etc...}".Methods in io.vertx.uritemplate with parameters of type Variables Modifier and Type Method Description StringUriTemplate. expandToString(Variables variables)Expand this template to a string.StringUriTemplate. expandToString(Variables variables, ExpandOptions options)Expand this template to a string.
-