public static final class TextMessage.Strict extends TextMessage implements TextMessage, scala.Product, java.io.Serializable
TextMessage
that contains the complete data as a String
.TextMessage.Streamed, TextMessage.Streamed$, TextMessage.Strict, TextMessage.Strict$
Constructor and Description |
---|
Strict(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStrictText()
Java API
|
boolean |
isStrict()
Is this message a strict one?
|
java.lang.String |
text() |
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 java.lang.String text()
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