Package akka.http.impl.engine.ws
Class FrameStart
- java.lang.Object
-
- akka.http.impl.engine.ws.FrameStart
-
- All Implemented Interfaces:
FrameEvent
,FrameEventOrError
,java.io.Serializable
,scala.Equals
,scala.Product
public final class FrameStart extends java.lang.Object implements FrameEvent, scala.Product, java.io.Serializable
Starts a frame. Contains the frame's headers. May contain all the data of the frame iflastPart == true
. Otherwise, following events will beFrameData
events that contain the remaining data of the frame.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FrameStart(FrameHeader header, akka.util.ByteString data)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2)
akka.util.ByteString
data()
FrameHeader
header()
boolean
isFullMessage()
boolean
lastPart()
static java.lang.String
toString()
FrameStart
withData(akka.util.ByteString data)
-
-
-
Constructor Detail
-
FrameStart
public FrameStart(FrameHeader header, akka.util.ByteString data)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2)
-
toString
public static java.lang.String toString()
-
header
public FrameHeader header()
-
data
public akka.util.ByteString data()
- Specified by:
data
in interfaceFrameEvent
-
lastPart
public boolean lastPart()
- Specified by:
lastPart
in interfaceFrameEvent
-
withData
public FrameStart withData(akka.util.ByteString data)
- Specified by:
withData
in interfaceFrameEvent
-
isFullMessage
public boolean isFullMessage()
-
-