SMILA 1.0 API documentation

org.eclipse.smila.http.client
Interface BulkResponse

All Superinterfaces:
java.io.Closeable, java.lang.Iterable<AnyMap>, java.util.Iterator<AnyMap>
All Known Implementing Classes:
BulkResponseImpl

public interface BulkResponse
extends java.lang.Iterable<AnyMap>, java.util.Iterator<AnyMap>, java.io.Closeable

Interface for return type of RestClient#getBulk(String, org.apache.http.params.HttpParams) method. Usage is simple: use the Iterator.hasNext() and Iterator.next() methods just like in collection iterators. You can also use the complete object as an Iterable in a for loop. If you do not read the complete content in your code, make sure to Closeable.close() the object when you do not need it anymore.


Method Summary
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 
Methods inherited from interface java.io.Closeable
close
 


SMILA 1.0 API documentation