public static final class BinaryMessage.Strict extends BinaryMessage implements BinaryMessage, scala.Product, java.io.Serializable
BinaryMessage
that contains the complete data as a ByteString
.BinaryMessage.Streamed, BinaryMessage.Streamed$, BinaryMessage.Strict, BinaryMessage.Strict$
Constructor and Description |
---|
Strict(akka.util.ByteString data) |
Modifier and Type | Method and Description |
---|---|
akka.util.ByteString |
data() |
akka.stream.scaladsl.Source<akka.util.ByteString,?> |
dataStream()
The contents of this message as a stream.
|
akka.util.ByteString |
getStrictData()
Java API
|
boolean |
isStrict()
Is this message a strict one?
|
java.lang.String |
toString() |
adapt, asBinaryMessage, asScala, asTextMessage, create, create, getStreamedData, isText, toStrict
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asScala, getStreamedData, toStrict, toStrict
public akka.util.ByteString data()
public akka.stream.scaladsl.Source<akka.util.ByteString,?> dataStream()
BinaryMessage
dataStream
in interface BinaryMessage
public java.lang.String toString()
toString
in class java.lang.Object
public akka.util.ByteString getStrictData()
getStrictData
in class BinaryMessage