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