public class RequestParameterImpl extends Object implements RequestParameter
| Constructor and Description |
|---|
RequestParameterImpl() |
RequestParameterImpl(Object value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
get() |
Boolean |
getBoolean() |
Buffer |
getBuffer() |
Double |
getDouble() |
Float |
getFloat() |
Integer |
getInteger() |
JsonArray |
getJsonArray() |
JsonObject |
getJsonObject()
Returns null if value is not a
JsonObject, otherwise it returns value |
Long |
getLong() |
String |
getString() |
int |
hashCode() |
boolean |
isBoolean() |
boolean |
isBuffer() |
boolean |
isEmpty() |
boolean |
isJsonArray() |
boolean |
isJsonObject() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isString() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcreatepublic RequestParameterImpl(Object value)
public RequestParameterImpl()
public String getString()
getString in interface RequestParameterString, otherwise it returns valuepublic boolean isString()
isString in interface RequestParameterString instancepublic Integer getInteger()
getInteger in interface RequestParameterNumber, otherwise it returns value as Integerpublic Long getLong()
getLong in interface RequestParameterNumber, otherwise it returns value as Longpublic Float getFloat()
getFloat in interface RequestParameterNumber, otherwise it returns value as Floatpublic Double getDouble()
getDouble in interface RequestParameterNumber, otherwise it returns value as Doublepublic boolean isNumber()
isNumber in interface RequestParameterNumber instancepublic Boolean getBoolean()
getBoolean in interface RequestParameterBoolean, otherwise it returns valuepublic boolean isBoolean()
isBoolean in interface RequestParameterBoolean instancepublic JsonObject getJsonObject()
RequestParameterJsonObject, otherwise it returns valuegetJsonObject in interface RequestParameterpublic boolean isJsonObject()
isJsonObject in interface RequestParameterJsonObject instancepublic JsonArray getJsonArray()
getJsonArray in interface RequestParameterJsonArray, otherwise it returns valuepublic boolean isJsonArray()
isJsonArray in interface RequestParameterJsonArray instancepublic Buffer getBuffer()
getBuffer in interface RequestParameterBuffer, otherwise it returns valuepublic boolean isBuffer()
isBuffer in interface RequestParameterBuffer instancepublic boolean isNull()
isNull in interface RequestParameterpublic boolean isEmpty()
isEmpty in interface RequestParameterpublic Object get()
get in interface RequestParameterCopyright © 2021. All rights reserved.