Class RequestParameter
- java.lang.Object
-
- io.vertx.reactivex.openapi.validation.RequestParameter
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<RequestParameter>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description RequestParameter(RequestParameter delegate)RequestParameter(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Objectget()BooleangetBoolean()BooleangetBoolean(Boolean defaultValue)BuffergetBuffer()BuffergetBuffer(Buffer defaultValue)RequestParametergetDelegate()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)inthashCode()booleanisBoolean()booleanisBuffer()booleanisEmpty()booleanisJsonArray()booleanisJsonObject()booleanisNull()booleanisNumber()booleanisString()static RequestParameternewInstance(RequestParameter arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<RequestParameter> __TYPE_ARG
-
-
Constructor Detail
-
RequestParameter
public RequestParameter(RequestParameter delegate)
-
RequestParameter
public RequestParameter(Object delegate)
-
-
Method Detail
-
getDelegate
public RequestParameter getDelegate()
- Specified by:
getDelegatein interfaceParameter- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
getString
public String getString()
-
isString
public boolean isString()
-
getInteger
public Integer getInteger()
- Specified by:
getIntegerin interfaceParameter- Returns:
- null if value is not a
Number, otherwise it returns value asInteger
-
getInteger
public Integer getInteger(Integer defaultValue)
- Specified by:
getIntegerin interfaceParameter- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a
Numberor 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:
getBooleanin interfaceParameter- Returns:
- null if value is not a
Boolean, otherwise it returns value
-
getBoolean
public Boolean getBoolean(Boolean defaultValue)
- Specified by:
getBooleanin interfaceParameter- Parameters:
defaultValue-- Returns:
- the default supplied if value is not a
Booleanor is null, otherwise it returns the value.
-
isBoolean
public boolean isBoolean()
-
getJsonObject
public JsonObject getJsonObject()
- Specified by:
getJsonObjectin interfaceParameter- Returns:
- null if value is not a , otherwise it returns value
-
getJsonObject
public JsonObject getJsonObject(JsonObject defaultValue)
- Specified by:
getJsonObjectin 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:
isJsonObjectin interfaceParameter- Returns:
- true if value of this instance is a instance
-
getJsonArray
public JsonArray getJsonArray()
- Specified by:
getJsonArrayin interfaceParameter- Returns:
- null if value is not a , otherwise it returns value
-
getJsonArray
public JsonArray getJsonArray(JsonArray defaultValue)
- Specified by:
getJsonArrayin 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:
isJsonArrayin 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 RequestParameter newInstance(RequestParameter arg)
-
-