Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RequestParameter> |
__TYPE_ARG |
Constructor and Description |
---|
RequestParameter(Object delegate) |
RequestParameter(RequestParameter delegate) |
Modifier and Type | Method and Description |
---|---|
static RequestParameter |
create(Object value) |
static RequestParameter |
create(String name,
Object value) |
boolean |
equals(Object o) |
List<RequestParameter> |
getArray()
Returns null if value is not a list, otherwise it returns value
|
Boolean |
getBoolean()
Returns null if value is not a Boolean, otherwise it returns value
|
RequestParameter |
getDelegate() |
Double |
getDouble()
Returns null if value is not a Double, otherwise it returns value
|
Float |
getFloat()
Returns null if value is not a Float, otherwise it returns value
|
Integer |
getInteger()
Returns null if value is not an Integer, otherwise it returns value
|
JsonArray |
getJsonArray()
Returns null if value is not a JsonArray, otherwise it returns value
|
JsonObject |
getJsonObject()
Returns null if value is not a JsonObject, otherwise it returns value
|
Long |
getLong()
Returns null if value is not a Long, otherwise it returns value
|
String |
getName()
Get parameter name
|
List<String> |
getObjectKeys()
If value is a map of fields, it returns keys of map, otherwise it returns null
|
RequestParameter |
getObjectValue(String key)
If value is a map of fields, it returns value of field with key provided, otherwise it returns null
|
String |
getString()
Returns null if value is not a String, otherwise it returns value
|
int |
hashCode() |
boolean |
isArray()
Returns true if value of RequestParameter is an array
|
boolean |
isBoolean()
Returns true if value of RequestParameter is a Boolean instance
|
boolean |
isDouble()
Returns true if value of RequestParameter is a Double instance
|
boolean |
isEmpty()
Alias of
isNull() |
boolean |
isFloat()
Returns true if value of RequestParameter is a Float instance
|
boolean |
isInteger()
Returns true if value of RequestParameter is an Integer instance
|
boolean |
isJsonArray()
Returns true if value of RequestParameter is a JsonArray instance
|
boolean |
isJsonObject()
Returns true if value of RequestParameter is a JsonObject instance
|
boolean |
isLong()
Returns true if value of RequestParameter is a Long instance
|
boolean |
isNull()
Returns true if value is null
|
boolean |
isObject()
Returns true if value of RequestParameter is a map of fields
|
boolean |
isString()
Returns true if value of RequestParameter is a String instance
|
RequestParameter |
merge(RequestParameter otherParameter)
Merge this request parameter with another one.
|
static RequestParameter |
newInstance(RequestParameter arg) |
void |
setName(String name)
Set parameter name
|
void |
setValue(Object value)
Set value
|
Object |
toJson()
Converts deeply this RequestParameter in a Json representation
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<RequestParameter> __TYPE_ARG
public RequestParameter(RequestParameter delegate)
public RequestParameter(Object delegate)
public RequestParameter getDelegate()
public void setName(String name)
name
- public void setValue(Object value)
value
- public String getName()
public List<String> getObjectKeys()
public RequestParameter getObjectValue(String key)
key
- public boolean isObject()
public List<RequestParameter> getArray()
public boolean isArray()
public String getString()
public boolean isString()
public Integer getInteger()
public boolean isInteger()
public Long getLong()
public boolean isLong()
public Float getFloat()
public boolean isFloat()
public Double getDouble()
public boolean isDouble()
public Boolean getBoolean()
public boolean isBoolean()
public JsonObject getJsonObject()
public boolean isJsonObject()
public JsonArray getJsonArray()
public boolean isJsonArray()
public boolean isNull()
public boolean isEmpty()
isNull()
public Object toJson()
public RequestParameter merge(RequestParameter otherParameter)
otherParameter
- public static RequestParameter create(String name, Object value)
public static RequestParameter create(Object value)
public static RequestParameter newInstance(RequestParameter arg)
Copyright © 2023 Eclipse. All rights reserved.