public final class DataFrame extends java.lang.Object implements StreamFrameEvent, scala.Product, scala.Serializable
Constructor and Description |
---|
DataFrame(int streamId,
boolean endStream,
akka.util.ByteString payload) |
Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1,
T2 v2,
T3 v3) |
boolean |
endStream() |
akka.util.ByteString |
payload() |
int |
sizeInWindow()
The amount of bytes this frame consumes of a window.
|
int |
streamId() |
static java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
frameTypeName
public DataFrame(int streamId, boolean endStream, akka.util.ByteString payload)
public abstract static R apply(T1 v1, T2 v2, T3 v3)
public static java.lang.String toString()
public int streamId()
streamId
in interface StreamFrameEvent
public boolean endStream()
public akka.util.ByteString payload()
public int sizeInWindow()
For flow-control calculations, the 9-octet frame header is not counted.
That means this size amounts to data size + padding size field + padding.