=doc #17279 upgrade to new http package layout

This commit is contained in:
Mathias 2015-04-24 18:03:07 +02:00
parent d80f241f19
commit 4537fdebf5
12 changed files with 37 additions and 38 deletions

View file

@ -7,14 +7,14 @@ package docs.http.server
import akka.actor.ActorSystem
import akka.stream.ActorFlowMaterializer
import akka.http.server.{ Route, MissingCookieRejection }
import akka.http.scaladsl.server.{ Route, MissingCookieRejection }
import scala.concurrent.ExecutionContext
object MyRejectionHandler {
//# example-1
import akka.http.model._
import akka.http.server._
import akka.http.scaladsl.model._
import akka.http.scaladsl.server._
import StatusCodes._
import Directives._
@ -47,7 +47,7 @@ class RejectionHandlerExamplesSpec extends RoutingSpec {
}
"example-2" in {
import akka.http.coding.Gzip
import akka.http.scaladsl.coding.Gzip
val route =
path("order") {