Class TextMessage.Strict

All Implemented Interfaces:
Message, TextMessage, Serializable, scala.Equals, scala.Product
Enclosing interface:
TextMessage

public static final class TextMessage.Strict extends TextMessage implements TextMessage, scala.Product, Serializable
A strict TextMessage that contains the complete data as a String.
See Also:
  • Constructor Details

    • Strict

      public Strict(String text)
  • Method Details

    • text

      public String text()
    • textStream

      public akka.stream.scaladsl.Source<String,?> textStream()
      Description copied from interface: TextMessage
      The contents of this message as a stream.
      Specified by:
      textStream in interface TextMessage
      Returns:
      (undocumented)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getStrictText

      public String getStrictText()
      Java API
      Specified by:
      getStrictText in class TextMessage
      Returns:
      (undocumented)
    • isStrict

      public boolean isStrict()
      Description copied from class: Message
      Is this message a strict one?
      Specified by:
      isStrict in class Message