Class BinaryMessage.Streamed
java.lang.Object
org.apache.pekko.http.javadsl.model.ws.Message
org.apache.pekko.http.javadsl.model.ws.BinaryMessage
org.apache.pekko.http.scaladsl.model.ws.BinaryMessage.Streamed
- All Implemented Interfaces:
Serializable,BinaryMessage,Message,scala.Equals,scala.Product
- Enclosing interface:
- BinaryMessage
public static final class BinaryMessage.Streamed
extends BinaryMessage
implements BinaryMessage, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.model.ws.BinaryMessage
BinaryMessage.Streamed, BinaryMessage.Streamed$, BinaryMessage.Strict, BinaryMessage.Strict$ -
Constructor Summary
ConstructorsConstructorDescriptionStreamed(org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString, ?> dataStream) -
Method Summary
Methods inherited from class org.apache.pekko.http.javadsl.model.ws.BinaryMessage
adapt, asBinaryMessage, asScala, asTextMessage, create, create, getStreamedData, isText, toStrictMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.http.scaladsl.model.ws.BinaryMessage
asScala, getStreamedData, toStrict, toStrictMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
Streamed
public Streamed(org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString, ?> dataStream)
-
-
Method Details
-
dataStream
public org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString,?> dataStream()Description copied from interface:BinaryMessageThe contents of this message as a stream.- Specified by:
dataStreamin interfaceBinaryMessage- Returns:
- (undocumented)
-
toString
-
getStrictData
public org.apache.pekko.util.ByteString getStrictData()Java API- Specified by:
getStrictDatain classBinaryMessage- Returns:
- (undocumented)
-
isStrict
public boolean isStrict()Description copied from class:MessageIs this message a strict one?
-