Interface Parameter
- All Superinterfaces:
io.vertx.lang.rx.RxDelegate
- All Known Implementing Classes:
RequestParameter, ResponseParameter
public interface Parameter
extends io.vertx.lang.rx.RxDelegate
-
Method Summary
Modifier and TypeMethodDescriptionget()getBoolean(Boolean defaultValue) getFloat()getInteger(Integer defaultValue) getJsonArray(JsonArray defaultValue) getJsonObject(JsonObject defaultValue) getLong()booleanbooleanisBuffer()booleanisEmpty()booleanbooleanbooleanisNull()booleanisNumber()booleanisString()static ParameternewInstance(Parameter arg)
-
Method Details
-
getDelegate
Parameter getDelegate()- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
getString
-
getString
-
isString
boolean isString()- Returns:
- true if value of this instance is a
Stringinstance
-
getInteger
-
getInteger
-
getLong
-
getLong
-
getFloat
-
getFloat
-
getDouble
-
getDouble
-
isNumber
boolean isNumber()- Returns:
- true if value of this instance is a
Numberinstance
-
getBoolean
-
getBoolean
-
isBoolean
boolean isBoolean()- Returns:
- true if value of this instance is a
Booleaninstance
-
getJsonObject
JsonObject getJsonObject()- Returns:
- null if value is not a , otherwise it returns value
-
getJsonObject
- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a or is null, otherwise it returns the value.
-
isJsonObject
boolean isJsonObject()- Returns:
- true if value of this instance is a instance
-
getJsonArray
JsonArray getJsonArray()- Returns:
- null if value is not a , otherwise it returns value
-
getJsonArray
-
isJsonArray
boolean isJsonArray()- Returns:
- true if value of this instance is a instance
-
getBuffer
Buffer getBuffer()- Returns:
- null if value is not a , otherwise it returns value
-
getBuffer
-
isBuffer
boolean isBuffer()- Returns:
- true if value of this instance is a instance
-
isNull
boolean isNull()- Returns:
- true if value is null
-
isEmpty
boolean isEmpty()- Returns:
- true if it's an empty
String, an empty / , an empty or it's null
-
get
Object get()- Returns:
- the plain value
-
newInstance
-