Package org.eclipse.jetty.client
Interface AsyncContentProvider
-
- All Superinterfaces:
ContentProvider
,java.lang.Iterable<java.nio.ByteBuffer>
- All Known Implementing Classes:
DeferredContentProvider
,MultiPartContentProvider
,OutputStreamContentProvider
public interface AsyncContentProvider extends ContentProvider
AContentProvider
that notifies listeners that content is available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AsyncContentProvider.Listener
A listener that is notified of content availability-
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.ContentProvider
ContentProvider.Typed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setListener(AsyncContentProvider.Listener listener)
-
Methods inherited from interface org.eclipse.jetty.client.api.ContentProvider
getLength, isReproducible
-
-
-
-
Method Detail
-
setListener
void setListener(AsyncContentProvider.Listener listener)
- Parameters:
listener
- the listener to be notified of content availability
-
-