| Modifier and Type | Method and Description |
|---|---|
static NumberType |
create(Number value) |
BigInteger |
toBigInteger()
Get this response as a BigInteger.
|
Boolean |
toBoolean()
Get this response as a Boolean.
|
Byte |
toByte()
Get this response as a Byte.
|
Double |
toDouble()
Get this response as a Double.
|
Float |
toFloat()
Get this response as a Float.
|
Integer |
toInteger()
Get this response as a Integer.
|
Long |
toLong()
Get this response as a Long.
|
Number |
toNumber()
Get this response as a Number.
|
Short |
toShort()
Get this response as a Short.
|
String |
toString()
Get this response as a String.
|
ResponseType |
type()
The response return type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitattributes, containsKey, get, get, getKeys, iterator, size, stream, toBuffer, toBytes, toStringforEach, spliteratorpublic static NumberType create(Number value)
public Number toNumber()
Responsepublic ResponseType type()
Responsepublic BigInteger toBigInteger()
ResponsetoBigInteger in interface Responsepublic Double toDouble()
Responsepublic Float toFloat()
Responsepublic Long toLong()
Responsepublic Integer toInteger()
Responsepublic Short toShort()
Responsepublic Byte toByte()
Responsepublic String toString()
ResponseCopyright © 2021. All rights reserved.