Class MultiPartContentProvider.MultiPartIterator
java.lang.Object
org.eclipse.jetty.client.util.MultiPartContentProvider.MultiPartIterator
- All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<ByteBuffer>, Synchronizable, Callback, Invocable
- Enclosing class:
MultiPartContentProvider
private class MultiPartContentProvider.MultiPartIterator
extends Object
implements Iterator<ByteBuffer>, Synchronizable, Callback, Closeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface Callback
Callback.Completable, Callback.Completing, Callback.NestedNested classes/interfaces inherited from interface Invocable
Invocable.InvocationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Iterator<ByteBuffer> private MultiPartContentProvider.StateFields inherited from interface Invocable
__nonBlocking -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Invocable
getInvocationTypeMethods inherited from interface Iterator
forEachRemaining, remove
-
Field Details
-
iterator
-
index
private int index -
state
-
-
Constructor Details
-
MultiPartIterator
private MultiPartIterator()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<ByteBuffer>
-
next
- Specified by:
nextin interfaceIterator<ByteBuffer>
-
getLock
- Specified by:
getLockin interfaceSynchronizable- Returns:
- the lock object to synchronize on
-
succeeded
-
failed
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-