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