= str - #15621 - Moving FlowMaterializer argument to the end of all Flow and Duct methods which uses it.

This commit is contained in:
Viktor Klang 2014-07-17 18:11:12 +02:00
parent 2ccf028a94
commit bb8ab0a925
33 changed files with 106 additions and 109 deletions

View file

@ -78,7 +78,7 @@ class HttpServerExampleSpec
case Http.IncomingConnection(remoteAddress, requestProducer, responseConsumer)
println("Accepted new connection from " + remoteAddress)
Flow(requestProducer).map(requestHandler).produceTo(materializer, responseConsumer)
Flow(requestProducer).map(requestHandler).produceTo(responseConsumer, materializer)
}.consume(materializer)
}
//#full-server-example

View file

@ -10,7 +10,6 @@ import akka.util.ByteString
import akka.http.model.headers.{ GenericHttpCredentials, BasicHttpCredentials }
import org.scalatest.MustMatchers
class ModelSpec extends AkkaSpec {
"construct request" in {
//#construct-request