Class RequestParameter
- java.lang.Object
-
- io.vertx.mutiny.ext.web.validation.RequestParameter
-
public class RequestParameter extends Object
Request parameter holder NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<RequestParameter>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description RequestParameter(io.vertx.ext.web.validation.RequestParameter delegate)
RequestParameter(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestParameter
create(Object value)
boolean
equals(Object o)
Object
get()
Boolean
getBoolean()
Buffer
getBuffer()
io.vertx.ext.web.validation.RequestParameter
getDelegate()
Double
getDouble()
Float
getFloat()
Integer
getInteger()
io.vertx.core.json.JsonArray
getJsonArray()
io.vertx.core.json.JsonObject
getJsonObject()
Long
getLong()
String
getString()
int
hashCode()
boolean
isBoolean()
boolean
isBuffer()
boolean
isEmpty()
boolean
isJsonArray()
boolean
isJsonObject()
boolean
isNull()
boolean
isNumber()
boolean
isString()
static RequestParameter
newInstance(io.vertx.ext.web.validation.RequestParameter arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<RequestParameter> __TYPE_ARG
-
-
Constructor Detail
-
RequestParameter
public RequestParameter(io.vertx.ext.web.validation.RequestParameter delegate)
-
RequestParameter
public RequestParameter(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.validation.RequestParameter getDelegate()
-
getString
public String getString()
- Returns:
- null if value is not a
String
, otherwise it returns value
-
isString
public boolean isString()
- Returns:
- true if value of this instance is a
String
instance
-
getInteger
public Integer getInteger()
-
getLong
public Long getLong()
-
getFloat
public Float getFloat()
-
getDouble
public Double getDouble()
-
isNumber
public boolean isNumber()
- Returns:
- true if value of this instance is a
Number
instance
-
getBoolean
public Boolean getBoolean()
- Returns:
- null if value is not a
Boolean
, otherwise it returns value
-
isBoolean
public boolean isBoolean()
- Returns:
- true if value of this instance is a
Boolean
instance
-
getJsonObject
public io.vertx.core.json.JsonObject getJsonObject()
- Returns:
-
isJsonObject
public boolean isJsonObject()
- Returns:
- true if value of this instance is a instance
-
getJsonArray
public io.vertx.core.json.JsonArray getJsonArray()
- Returns:
- null if value is not a , otherwise it returns value
-
isJsonArray
public boolean isJsonArray()
- Returns:
- true if value of this instance is a instance
-
getBuffer
public Buffer getBuffer()
- Returns:
- null if value is not a , otherwise it returns value
-
isBuffer
public boolean isBuffer()
- Returns:
- true if value of this instance is a instance
-
isNull
public boolean isNull()
- Returns:
- true if value is null
-
isEmpty
public boolean isEmpty()
- Returns:
- True if it's an empty string, an empty json object/array, an empty buffer or it's null
-
get
public Object get()
- Returns:
- the internal value. The internal value is always a valid Vert.x JSON type
-
create
public static RequestParameter create(Object value)
-
newInstance
public static RequestParameter newInstance(io.vertx.ext.web.validation.RequestParameter arg)
-
-