Class ByteBufferContentSource

java.lang.Object
org.eclipse.jetty.io.content.ByteBufferContentSource
All Implemented Interfaces:
Content.Source

public class ByteBufferContentSource extends Object implements Content.Source

A Content.Source backed by one or more ByteBuffers. The buffers passed in the constructor are made available as Content.Chunks via read(). Any calls to demand(Runnable) are immediately satisfied.