object StreamUtils
General utilities for building streams
- Alphabetic
- By Inheritance
- StreamUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
lazy val
splittingFlow: Flow[ByteString, String, NotUsed]
An optimized version of splittingFlowOn that splits on
'\n'or'\r'. -
def
splittingFlowOn(splitChars: Set[Char]): Flow[ByteString, String, NotUsed]
A flow that takes akka.util.ByteString, and turns it into UTF-8 strings, split on one of several split characters.
A flow that takes akka.util.ByteString, and turns it into UTF-8 strings, split on one of several split characters.
The split character is kept at the end of each string.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
lazy val
linesFlow: Flow[ByteString, String, NotUsed]
A flow that turns a stream of akka.util.ByteString into a stream of UTF-8 strings, each containing one line.
A flow that turns a stream of akka.util.ByteString into a stream of UTF-8 strings, each containing one line.
- Annotations
- @deprecated
- Deprecated
(Since version 2.2.3) Use splittingFlow instead
-
def
makeTap[A, B](sink: Sink[A, B]): Flow[A, A, B]
Create a akka.stream.scaladsl.Flow that sends all events to a given akka.stream.scaladsl.Sink, while still allowing them to flow to the output as well.
Create a akka.stream.scaladsl.Flow that sends all events to a given akka.stream.scaladsl.Sink, while still allowing them to flow to the output as well.
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.0) Use alsoTo or alsoToMat instead