Package akka.http.javadsl.model.ws
Class TextMessage$
- java.lang.Object
-
- akka.http.javadsl.model.ws.TextMessage$
-
public class TextMessage$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static TextMessage$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description TextMessage$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextMessage
adapt(TextMessage msg)
TextMessage
create(akka.stream.javadsl.Source<java.lang.String,?> textStream)
Creates a streamed text message.TextMessage
create(java.lang.String text)
Creates a strict text message.
-
-
-
Field Detail
-
MODULE$
public static final TextMessage$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
create
public TextMessage create(java.lang.String text)
Creates a strict text message.- Parameters:
text
- (undocumented)- Returns:
- (undocumented)
-
create
public TextMessage create(akka.stream.javadsl.Source<java.lang.String,?> textStream)
Creates a streamed text message.- Parameters:
textStream
- (undocumented)- Returns:
- (undocumented)
-
adapt
public TextMessage adapt(TextMessage msg)
-
-