Class ContentChunk

java.lang.Object
org.eclipse.jetty.reactive.client.ContentChunk

public class ContentChunk extends Object
A chunk of content, made of a ByteBuffer and a Callback.
  • Field Details

    • buffer

      public final ByteBuffer buffer
    • callback

      public final org.eclipse.jetty.util.Callback callback
  • Constructor Details

    • ContentChunk

      public ContentChunk(ByteBuffer buffer)
    • ContentChunk

      public ContentChunk(ByteBuffer buffer, org.eclipse.jetty.util.Callback callback)
  • Method Details