public class Response extends Object implements Iterable<Response>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<Response> |
__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Response |
get(int index)
Get this multi response value at a numerical index.
|
Response |
get(String key)
Get this multi response value at a string key.
|
Response |
getDelegate() |
Set<String> |
getKeys()
Get this multi response keys from a hash.
|
int |
hashCode() |
Iterator<Response> |
iterator() |
static Response |
newInstance(Response arg) |
int |
size()
Get this size of this multi response.
|
Boolean |
toBoolean()
Get this response as a Boolean.
|
Buffer |
toBuffer()
Get this response as Buffer.
|
Byte |
toByte()
Get this response as a Byte.
|
byte[] |
toBytes()
Get this response as a byte[].
|
Integer |
toInteger()
Get this response as a Integer.
|
Long |
toLong()
Get this response as a Long.
|
Short |
toShort()
Get this response as a Short.
|
String |
toString()
Get this response as a String.
|
String |
toString(Charset encoding)
Get this response as a String encoded with the given charset.
|
ResponseType |
type()
The response return type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Response(Response delegate)
public Response getDelegate()
public ResponseType type()
public String toString()
public Long toLong()
public Integer toInteger()
public Short toShort()
public Byte toByte()
public Boolean toBoolean()
public Buffer toBuffer()
public Response get(int index)
index
- the required index.public Response get(String key)
key
- the required key.public Set<String> getKeys()
public int size()
public String toString(Charset encoding)
encoding
- public byte[] toBytes()
Copyright © 2019 Eclipse. All rights reserved.