Package io.vertx.mutiny.uritemplate
Class Variables
java.lang.Object
io.vertx.mutiny.uritemplate.Variables
- All Implemented Interfaces:
MutinyDelegate
Holds a set of name/value pairs where each value can be a
String
or a List
or a Map<String, String>
.
NOTE: This class has been automatically generated from the original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAll
(io.vertx.core.json.JsonObject json) clear()
boolean
io.vertx.uritemplate.Variables
int
hashCode()
names()
static Variables
newInstance
(io.vertx.uritemplate.Variables arg) setAll
(io.vertx.core.json.JsonObject json) toString()
static Variables
static Variables
variables
(io.vertx.core.json.JsonObject json)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Variables
public Variables(io.vertx.uritemplate.Variables delegate) -
Variables
-
-
Method Details
-
getDelegate
public io.vertx.uritemplate.Variables getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
variables
- Returns:
- an empty instance
-
variables
- Parameters:
json
- the json that populates the returned variables- Returns:
- an instance populated from a JSON object
-
set
- Parameters:
name
- the variable namevalue
- the variable value- Returns:
- a reference to this, so the API can be used fluently
-
set
- Parameters:
name
- the variable namevalue
- the variable value- Returns:
- a reference to this, so the API can be used fluently
-
set
- Parameters:
name
- the variable namevalue
- the variable value- Returns:
- a reference to this, so the API can be used fluently
-
setAll
- Parameters:
json
-- Returns:
- the instance of Variables to chain method calls.
-
addAll
- Parameters:
json
- the json that populates the returned variables- Returns:
- a reference to this, so the API can be used fluently
-
clear
-
names
- Returns:
- the set of variable names
-
get
- Parameters:
name
-- Returns:
- the value of the variable
name
-
getSingle
- Parameters:
name
-- Returns:
- the single value of the variable
name
-
getList
- Parameters:
name
-- Returns:
- the list value of the variable
name
-
getMap
- Parameters:
name
-- Returns:
- the map value of the variable
name
-
newInstance
-