| Modifier and Type | Method and Description |
|---|---|
void |
add(Response reply) |
boolean |
complete() |
static MultiType |
create(int length) |
static MultiType |
create(Response[] replies) |
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, waittoBoolean, toBuffer, toByte, toBytes, toInteger, toLong, toShort, toStringforEach, spliteratorpublic static final MultiType EMPTY
public static MultiType create(int length)
public ResponseType type()
Responsepublic void add(Response reply)
public boolean complete()
public Response get(int index)
Responsepublic Response get(String key)
Responsepublic Set<String> getKeys()
Responsepublic int size()
Responsepublic String toString()
ResponseCopyright © 2020. All rights reserved.