public class TextMessage$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TextMessage$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
TextMessage$() |
Modifier and Type | Method and Description |
---|---|
TextMessage |
adapt(TextMessage msg) |
TextMessage |
create(org.apache.pekko.stream.javadsl.Source<java.lang.String,?> textStream)
Creates a streamed text message.
|
TextMessage |
create(java.lang.String text)
Creates a strict text message.
|
public static final TextMessage$ MODULE$
public TextMessage create(java.lang.String text)
text
- (undocumented)public TextMessage create(org.apache.pekko.stream.javadsl.Source<java.lang.String,?> textStream)
textStream
- (undocumented)public TextMessage adapt(TextMessage msg)