public interface TextMessage extends Message
TextMessage.Strict in which case
 the complete data is already available or it can be TextMessage.Streamed in which case textStream
 will return a Source streaming the data as it comes in.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | TextMessage.Streamed | 
| static class  | TextMessage.Streamed$ | 
| static class  | TextMessage.StrictA strict  TextMessagethat contains the complete data as aString. | 
| static class  | TextMessage.Strict$ | 
| Modifier and Type | Method and Description | 
|---|---|
| TextMessage | asScala() | 
| org.apache.pekko.stream.javadsl.Source<java.lang.String,?> | getStreamedText()Java API | 
| org.apache.pekko.stream.scaladsl.Source<java.lang.String,?> | textStream()The contents of this message as a stream. | 
| scala.concurrent.Future<TextMessage.Strict> | toStrict(scala.concurrent.duration.FiniteDuration timeout,
        org.apache.pekko.stream.Materializer fm)Collects all possible parts and returns a potentially future Strict Message for easier processing. | 
| java.util.concurrent.CompletionStage<TextMessage.Strict> | toStrict(long timeoutMillis,
        org.apache.pekko.stream.Materializer materializer) | 
org.apache.pekko.stream.scaladsl.Source<java.lang.String,?> textStream()
scala.concurrent.Future<TextMessage.Strict> toStrict(scala.concurrent.duration.FiniteDuration timeout, org.apache.pekko.stream.Materializer fm)
timeout - (undocumented)fm - (undocumented)org.apache.pekko.stream.javadsl.Source<java.lang.String,?> getStreamedText()
TextMessage asScala()
java.util.concurrent.CompletionStage<TextMessage.Strict> toStrict(long timeoutMillis, org.apache.pekko.stream.Materializer materializer)