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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectget()BooleangetBoolean()BooleangetBoolean(Boolean defaultValue)BuffergetBuffer()BuffergetBuffer(Buffer defaultValue)ParametergetDelegate()DoublegetDouble()DoublegetDouble(Double defaultValue)FloatgetFloat()FloatgetFloat(Float defaultValue)IntegergetInteger()IntegergetInteger(Integer defaultValue)JsonArraygetJsonArray()JsonArraygetJsonArray(JsonArray defaultValue)JsonObjectgetJsonObject()JsonObjectgetJsonObject(JsonObject defaultValue)LonggetLong()LonggetLong(Long defaultValue)StringgetString()StringgetString(String defaultValue)booleanisBoolean()booleanisBuffer()booleanisEmpty()booleanisJsonArray()booleanisJsonObject()booleanisNull()booleanisNumber()booleanisString()static ParameternewInstance(Parameter arg)
-
-
-
Method Detail
-
getDelegate
Parameter getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
getString
String getString(String defaultValue)
- Parameters:
defaultValue-- Returns:
- the default if value is not a
Stringor is null, otherwise it returns the value.
-
isString
boolean isString()
- Returns:
- true if value of this instance is a
Stringinstance
-
getInteger
Integer getInteger()
-
getInteger
Integer getInteger(Integer defaultValue)
- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a
Numberor is null, otherwise it returns the value.
-
getLong
Long getLong(Long defaultValue)
- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a
Numberor is null, otherwise it returns the value.
-
getFloat
Float getFloat()
-
getFloat
Float getFloat(Float defaultValue)
- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a
Numberor is null, otherwise it returns the value.
-
getDouble
Double getDouble()
-
getDouble
Double getDouble(Double defaultValue)
- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a
Numberor is null, otherwise it returns the value.
-
isNumber
boolean isNumber()
- Returns:
- true if value of this instance is a
Numberinstance
-
getBoolean
Boolean getBoolean(Boolean defaultValue)
- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a
Booleanor is null, otherwise it returns the value.
-
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
JsonObject getJsonObject(JsonObject defaultValue)
- 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
JsonArray getJsonArray(JsonArray defaultValue)
- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a or is null, otherwise it returns the value.
-
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
Buffer getBuffer(Buffer defaultValue)
- Parameters:
defaultValue-- Returns:
- the default suppliedif value is not a or is null, otherwise it returns the value.
-
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
-
-