Class ByteBufferContentProvider

java.lang.Object
org.eclipse.jetty.client.util.AbstractTypedContentProvider
org.eclipse.jetty.client.util.ByteBufferContentProvider
All Implemented Interfaces:
Iterable<ByteBuffer>, ContentProvider, ContentProvider.Typed

@Deprecated public class ByteBufferContentProvider extends AbstractTypedContentProvider
Deprecated.
A ContentProvider for ByteBuffers.

The position and limit of the ByteBuffers passed to the constructor are not modified, and each invocation of the iterator() method returns a slice of the original ByteBuffer.