public class MultiResponse
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all the responses in this MultiResponse
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
Request |
request(int index)
Returns the Request for a given index
|
Response |
response(int key)
|
java.util.List<Response> |
responses()
Returns a List of all the Response objects within the MultiResponse
|
java.lang.String |
toString()
|
public Response response(int key)
public java.util.List<Response> responses()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object