public static final class TextMessage.Streamed extends TextMessage implements TextMessage, scala.Product, java.io.Serializable
TextMessage.Streamed, TextMessage.Streamed$, TextMessage.Strict, TextMessage.Strict$
Constructor and Description |
---|
Streamed(org.apache.pekko.stream.scaladsl.Source<java.lang.String,?> textStream) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStrictText()
Java API
|
boolean |
isStrict()
Is this message a strict one?
|
org.apache.pekko.stream.scaladsl.Source<java.lang.String,?> |
textStream()
The contents of this message as a stream.
|
java.lang.String |
toString() |
adapt, asBinaryMessage, asScala, asTextMessage, create, create, getStreamedText, isText, toStrict
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asScala, getStreamedText, toStrict, toStrict
public Streamed(org.apache.pekko.stream.scaladsl.Source<java.lang.String,?> textStream)
public org.apache.pekko.stream.scaladsl.Source<java.lang.String,?> textStream()
TextMessage
textStream
in interface TextMessage
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getStrictText()
getStrictText
in class TextMessage