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 SummaryNested classes/interfaces inherited from interface org.apache.pekko.http.scaladsl.model.ws.BinaryMessageBinaryMessage.Streamed, BinaryMessage.Streamed$, BinaryMessage.Strict, BinaryMessage.Strict$
- 
Constructor SummaryConstructorsConstructorDescriptionStreamed(org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString, ?> dataStream) 
- 
Method SummaryMethods inherited from class org.apache.pekko.http.javadsl.model.ws.BinaryMessageadapt, asBinaryMessage, asScala, asTextMessage, create, create, getStreamedData, isText, toStrictMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.http.scaladsl.model.ws.BinaryMessageasScala, getStreamedData, toStrict, toStrictMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
Streamedpublic Streamed(org.apache.pekko.stream.scaladsl.Source<org.apache.pekko.util.ByteString, ?> dataStream) 
 
- 
- 
Method Details- 
dataStreampublic 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 interface- BinaryMessage
- Returns:
- (undocumented)
 
- 
toString
- 
getStrictDatapublic org.apache.pekko.util.ByteString getStrictData()Java API- Specified by:
- getStrictDatain class- BinaryMessage
- Returns:
- (undocumented)
 
- 
isStrictpublic boolean isStrict()Description copied from class:MessageIs this message a strict one?
 
-