Package akka.http.scaladsl.model.ws
Class TextMessage.Streamed
- java.lang.Object
-
- akka.http.javadsl.model.ws.Message
-
- akka.http.javadsl.model.ws.TextMessage
-
- akka.http.scaladsl.model.ws.TextMessage.Streamed
-
- All Implemented Interfaces:
Message
,TextMessage
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- TextMessage
public static final class TextMessage.Streamed extends TextMessage implements TextMessage, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.http.scaladsl.model.ws.TextMessage
TextMessage.Streamed, TextMessage.Streamed$, TextMessage.Strict, TextMessage.Strict$
-
-
Constructor Summary
Constructors Constructor Description Streamed(akka.stream.scaladsl.Source<java.lang.String,?> textStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getStrictText()
Java APIboolean
isStrict()
Is this message a strict one?akka.stream.scaladsl.Source<java.lang.String,?>
textStream()
The contents of this message as a stream.java.lang.String
toString()
-
Methods inherited from class akka.http.javadsl.model.ws.TextMessage
adapt, asBinaryMessage, asScala, asTextMessage, create, create, getStreamedText, isText, toStrict
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.scaladsl.model.ws.TextMessage
asScala, getStreamedText, toStrict, toStrict
-
-
-
-
Method Detail
-
textStream
public akka.stream.scaladsl.Source<java.lang.String,?> textStream()
Description copied from interface:TextMessage
The contents of this message as a stream.- Specified by:
textStream
in interfaceTextMessage
- Returns:
- (undocumented)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getStrictText
public java.lang.String getStrictText()
Java API- Specified by:
getStrictText
in classTextMessage
- Returns:
- (undocumented)
-
-