Package akka.stream.impl.io
Class InputStreamSource
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SourceShape<ByteString>,scala.concurrent.Future<IOResult>>
-
- akka.stream.impl.io.InputStreamSource
-
- All Implemented Interfaces:
Graph<SourceShape<ByteString>,scala.concurrent.Future<IOResult>>
public final class InputStreamSource extends GraphStageWithMaterializedValue<SourceShape<ByteString>,scala.concurrent.Future<IOResult>>
INTERNAL API
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description InputStreamSource(scala.Function0<java.io.InputStream> factory, int chunkSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,scala.concurrent.Future<IOResult>>
createLogicAndMaterializedValue(Attributes inheritedAttributes)
protected Attributes
initialAttributes()
SourceShape<ByteString>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.java.lang.String
toString()
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,scala.concurrent.Future<IOResult>> createLogicAndMaterializedValue(Attributes inheritedAttributes)
- Specified by:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SourceShape<ByteString>,scala.concurrent.Future<IOResult>>
-
initialAttributes
protected Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<SourceShape<ByteString>,scala.concurrent.Future<IOResult>>
-
shape
public SourceShape<ByteString> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-