Package akka.http.scaladsl.model.ws
Class TextMessage.Strict
java.lang.Object
akka.http.javadsl.model.ws.Message
akka.http.javadsl.model.ws.TextMessage
akka.http.scaladsl.model.ws.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:
-
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
-
Method Summary
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.Equals
canEqual, equals
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
-
Constructor Details
-
Strict
-
-
Method Details
-
text
-
textStream
Description copied from interface:TextMessage
The contents of this message as a stream.- Specified by:
textStream
in interfaceTextMessage
- Returns:
- (undocumented)
-
toString
-
getStrictText
Java API- Specified by:
getStrictText
in classTextMessage
- Returns:
- (undocumented)
-
isStrict
public boolean isStrict()Description copied from class:Message
Is this message a strict one?
-