=doc #17279 upgrade to new http package layout
This commit is contained in:
parent
d80f241f19
commit
4537fdebf5
12 changed files with 37 additions and 38 deletions
|
|
@ -5,14 +5,14 @@
|
|||
package docs.http.server
|
||||
|
||||
import akka.actor.ActorSystem
|
||||
import akka.http.server.Route
|
||||
import akka.http.scaladsl.server.Route
|
||||
import akka.stream.ActorFlowMaterializer
|
||||
|
||||
object MyHandler {
|
||||
//# example-1
|
||||
import akka.http.model.HttpResponse
|
||||
import akka.http.model.StatusCodes._
|
||||
import akka.http.server._
|
||||
import akka.http.scaladsl.model.HttpResponse
|
||||
import akka.http.scaladsl.model.StatusCodes._
|
||||
import akka.http.scaladsl.server._
|
||||
import Directives._
|
||||
|
||||
implicit def myExceptionHandler =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue