public static final class BinaryMessage.Strict extends BinaryMessage implements BinaryMessage, scala.Product, java.io.Serializable
BinaryMessage that contains the complete data as a pekko.util.ByteString.BinaryMessage.Streamed, BinaryMessage.Streamed$, BinaryMessage.Strict, BinaryMessage.Strict$| Constructor and Description |
|---|
Strict(org.apache.pekko.util.ByteString data) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pekko.util.ByteString |
data() |
org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString,?> |
dataStream()
The contents of this message as a stream.
|
org.apache.pekko.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, toStrictclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasScala, getStreamedData, toStrict, toStrictpublic org.apache.pekko.util.ByteString data()
public org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString,?> dataStream()
BinaryMessagedataStream in interface BinaryMessagepublic java.lang.String toString()
toString in class java.lang.Objectpublic org.apache.pekko.util.ByteString getStrictData()
getStrictData in class BinaryMessage