!htj move RequestVal classes to javadsl.server.values
This commit is contained in:
parent
45a410b02a
commit
10ea40b2f8
23 changed files with 142 additions and 38 deletions
|
|
@ -10,7 +10,7 @@ import scala.concurrent.duration._
|
|||
import akka.stream.ActorMaterializer
|
||||
import akka.http.scaladsl.server
|
||||
import akka.http.javadsl.model.HttpRequest
|
||||
import akka.http.javadsl.server.{ Route, Directives }
|
||||
import akka.http.javadsl.server.{ AllDirectives, Route, Directives }
|
||||
import akka.http.impl.util.JavaMapping.Implicits._
|
||||
import akka.http.impl.server.RouteImplementation
|
||||
import akka.http.scaladsl.model.HttpResponse
|
||||
|
|
@ -19,7 +19,7 @@ import akka.actor.ActorSystem
|
|||
import akka.event.NoLogging
|
||||
import akka.http.impl.util._
|
||||
|
||||
abstract class RouteTest {
|
||||
abstract class RouteTest extends AllDirectives {
|
||||
implicit def system: ActorSystem
|
||||
implicit def materializer: ActorMaterializer
|
||||
implicit def executionContext: ExecutionContext = system.dispatcher
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue