Package akka.http.impl.engine.http2
Class FrameEvent.DataFrame
- java.lang.Object
-
- akka.http.impl.engine.http2.FrameEvent.DataFrame
-
- All Implemented Interfaces:
FrameEvent
,FrameEvent.StreamFrameEvent
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- FrameEvent
public static final class FrameEvent.DataFrame extends java.lang.Object implements FrameEvent.StreamFrameEvent, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.http.impl.engine.http2.FrameEvent
FrameEvent.ContinuationFrame, FrameEvent.ContinuationFrame$, FrameEvent.DataFrame, FrameEvent.DataFrame$, FrameEvent.GoAwayFrame, FrameEvent.GoAwayFrame$, FrameEvent.HeadersFrame, FrameEvent.HeadersFrame$, FrameEvent.ParsedHeadersFrame, FrameEvent.ParsedHeadersFrame$, FrameEvent.PingFrame, FrameEvent.PingFrame$, FrameEvent.PriorityFrame, FrameEvent.PriorityFrame$, FrameEvent.PushPromiseFrame, FrameEvent.PushPromiseFrame$, FrameEvent.RstStreamFrame, FrameEvent.RstStreamFrame$, FrameEvent.Setting, FrameEvent.Setting$, FrameEvent.SettingsAckFrame, FrameEvent.SettingsAckFrame$, FrameEvent.SettingsFrame, FrameEvent.SettingsFrame$, FrameEvent.StreamFrameEvent, FrameEvent.UnknownFrameEvent, FrameEvent.UnknownFrameEvent$, FrameEvent.WindowUpdateFrame, FrameEvent.WindowUpdateFrame$
-
-
Constructor Summary
Constructors Constructor Description DataFrame(int streamId, boolean endStream, akka.util.ByteString payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
endStream()
akka.util.ByteString
payload()
int
sizeInWindow()
The amount of bytes this frame consumes of a window.int
streamId()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.impl.engine.http2.FrameEvent
frameTypeName
-
-
-
-
Method Detail
-
streamId
public int streamId()
- Specified by:
streamId
in interfaceFrameEvent.StreamFrameEvent
-
endStream
public boolean endStream()
-
payload
public akka.util.ByteString payload()
-
sizeInWindow
public int sizeInWindow()
The amount of bytes this frame consumes of a window. According to RFC 7540, 6.9.1:For flow-control calculations, the 9-octet frame header is not counted.
That means this size amounts to data size + padding size field + padding.
- Returns:
- (undocumented)
-
-