= str - #15618 - Renames Flow and Duct 'tee' operation to 'broadcast'

This commit is contained in:
Viktor Klang 2014-07-17 14:48:01 +02:00
parent 2ccf028a94
commit 6c7dc10a50
11 changed files with 21 additions and 21 deletions

View file

@ -42,7 +42,7 @@ private[http] class HttpClientPipeline(effectiveSettings: ClientConnectionSettin
val requestSubscriber =
Duct[(HttpRequest, Any)]
.tee(contextBypassSubscriber)
.broadcast(contextBypassSubscriber)
.map(requestMethodByPass)
.transform(responseRendererFactory.newRenderer)
.flatten(FlattenStrategy.concat)

View file

@ -44,7 +44,7 @@ private[http] class HttpServerPipeline(settings: ServerSettings,
.transform(rootParser.copyWith(warnOnIllegalHeader))
.splitWhen(_.isInstanceOf[MessageStart])
.headAndTail(materializer)
.tee(applicationBypassSubscriber)
.broadcast(applicationBypassSubscriber)
.collect {
case (RequestStart(method, uri, protocol, headers, createEntity, _), entityParts)
val effectiveUri = HttpRequest.effectiveUri(uri, headers, securedConnection = false, settings.defaultHostHeader)