|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.http.client.impl.base.BulkResponseImpl
public class BulkResponseImpl
default implementation of BulkResponse.
| Constructor Summary | |
|---|---|
BulkResponseImpl(java.io.InputStream responseStream)
create instance. |
|
| Method Summary | |
|---|---|
void |
close()
Closes used resources. |
protected void |
finalize()
|
boolean |
hasNext()
Checks if there are more objects to read from the bulk. |
java.util.Iterator<AnyMap> |
iterator()
|
AnyMap |
next()
Parses and returns the next object. |
void |
remove()
Currently not supported by this implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BulkResponseImpl(java.io.InputStream responseStream)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public java.util.Iterator<AnyMap> iterator()
iterator in interface java.lang.Iterable<AnyMap>public boolean hasNext()
hasNext in interface java.util.Iterator<AnyMap>java.lang.RuntimeException - If reading the input stream fails. The IOException from the reader will be attached as the cause.public AnyMap next()
next in interface java.util.Iterator<AnyMap>java.util.NoSuchElementException - If no objects are available anymore.
java.lang.RuntimeException - If reading the input stream or parsing the JSON line fails. The exception from the reader or parser will
be attached as the cause.public void remove()
remove in interface java.util.Iterator<AnyMap>java.lang.UnsupportedOperationException - always.public void close()
close in interface java.io.Closeable
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||