Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final TextMessage$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • TextMessage$

        public TextMessage$()
    • 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)