| Modifier and Type | Method and Description |
|---|---|
void |
add(Response reply)
Adds a reply to the current response as it gets parsed from the wire.
|
boolean |
complete()
Signals that we received all required replies.
|
static AttributeType |
create(long length) |
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.
|
Set<String> |
getKeys()
Get this multi response keys from a hash.
|
Iterator<Response> |
iterator()
Return an iterator so it can be iterated using the foreach construct.
|
int |
size()
Get this size of this multi response.
|
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, stream, toBigInteger, toBoolean, toBuffer, toByte, toBytes, toDouble, toFloat, toInteger, toLong, toNumber, toShort, toStringforEach, spliteratorpublic static AttributeType create(long length)
public ResponseType type()
Responsepublic void add(Response reply)
Multipublic boolean complete()
Multipublic Response get(int index)
Responsepublic Response get(String key)
Responsepublic Set<String> getKeys()
Responsepublic int size()
Responsepublic String toString()
ResponseCopyright © 2021. All rights reserved.