Class ResponseParameter
- java.lang.Object
-
- io.vertx.reactivex.openapi.validation.ResponseParameter
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<ResponseParameter>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ResponseParameter(ResponseParameter delegate)
ResponseParameter(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Object
get()
Boolean
getBoolean()
Boolean
getBoolean(Boolean defaultValue)
Buffer
getBuffer()
Buffer
getBuffer(Buffer defaultValue)
ResponseParameter
getDelegate()
Double
getDouble()
Double
getDouble(Double defaultValue)
Float
getFloat()
Float
getFloat(Float defaultValue)
Integer
getInteger()
Integer
getInteger(Integer defaultValue)
JsonArray
getJsonArray()
JsonArray
getJsonArray(JsonArray defaultValue)
JsonObject
getJsonObject()
JsonObject
getJsonObject(JsonObject defaultValue)
Long
getLong()
Long
getLong(Long defaultValue)
String
getString()
String
getString(String defaultValue)
int
hashCode()
boolean
isBoolean()
boolean
isBuffer()
boolean
isEmpty()
boolean
isJsonArray()
boolean
isJsonObject()
boolean
isNull()
boolean
isNumber()
boolean
isString()
static ResponseParameter
newInstance(ResponseParameter arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<ResponseParameter> __TYPE_ARG
-
-
Constructor Detail
-
ResponseParameter
public ResponseParameter(ResponseParameter delegate)
-
ResponseParameter
public ResponseParameter(Object delegate)
-
-
Method Detail
-
getDelegate
public ResponseParameter getDelegate()
- Specified by:
getDelegate
in interfaceParameter
- Specified by:
getDelegate
in interfaceio.vertx.lang.rx.RxDelegate
-
getString
public String getString()
-
isString
public boolean isString()
-
getInteger
public Integer getInteger()
- Specified by:
getInteger
in interfaceParameter
- Returns:
- null if value is not a
Number
, otherwise it returns value asInteger
-
getInteger
public Integer getInteger(Integer defaultValue)
- Specified by:
getInteger
in interfaceParameter
- Parameters:
defaultValue
-- Returns:
- the default supplied if value is not a
Number
or is null, otherwise it returns the value.
-
getLong
public Long getLong()
-
getFloat
public Float getFloat()
-
getDouble
public Double getDouble()
-
isNumber
public boolean isNumber()
-
getBoolean
public Boolean getBoolean()
- Specified by:
getBoolean
in interfaceParameter
- Returns:
- null if value is not a
Boolean
, otherwise it returns value
-
getBoolean
public Boolean getBoolean(Boolean defaultValue)
- Specified by:
getBoolean
in interfaceParameter
- Parameters:
defaultValue
-- Returns:
- the default supplied if value is not a
Boolean
or is null, otherwise it returns the value.
-
isBoolean
public boolean isBoolean()
-
getJsonObject
public JsonObject getJsonObject()
- Specified by:
getJsonObject
in interfaceParameter
- Returns:
- null if value is not a , otherwise it returns value
-
getJsonObject
public JsonObject getJsonObject(JsonObject defaultValue)
- Specified by:
getJsonObject
in interfaceParameter
- Parameters:
defaultValue
-- Returns:
- the default supplied if value is not a or is null, otherwise it returns the value.
-
isJsonObject
public boolean isJsonObject()
- Specified by:
isJsonObject
in interfaceParameter
- Returns:
- true if value of this instance is a instance
-
getJsonArray
public JsonArray getJsonArray()
- Specified by:
getJsonArray
in interfaceParameter
- Returns:
- null if value is not a , otherwise it returns value
-
getJsonArray
public JsonArray getJsonArray(JsonArray defaultValue)
- Specified by:
getJsonArray
in interfaceParameter
- Parameters:
defaultValue
-- Returns:
- the default supplied if value is not a or is null, otherwise it returns the value.
-
isJsonArray
public boolean isJsonArray()
- Specified by:
isJsonArray
in interfaceParameter
- Returns:
- true if value of this instance is a instance
-
getBuffer
public Buffer getBuffer()
-
isBuffer
public boolean isBuffer()
-
isNull
public boolean isNull()
-
isEmpty
public boolean isEmpty()
-
newInstance
public static ResponseParameter newInstance(ResponseParameter arg)
-
-