=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
|
||||
package directives
|
||||
|
||||
import akka.http.model.headers.RawHeader
|
||||
import akka.http.server.RouteResult.Rejected
|
||||
import akka.http.server._
|
||||
import akka.http.scaladsl.model.headers.RawHeader
|
||||
import akka.http.scaladsl.server.RouteResult.Rejected
|
||||
import akka.http.scaladsl.server._
|
||||
import akka.util.ByteString
|
||||
|
||||
import scala.util.control.NonFatal
|
||||
|
||||
import akka.http.model._
|
||||
import akka.http.scaladsl.model._
|
||||
|
||||
class BasicDirectivesExamplesSpec extends RoutingSpec {
|
||||
"0extract" in {
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
package docs.http.server
|
||||
package directives
|
||||
|
||||
import akka.http.coding._
|
||||
import akka.http.model.{ HttpResponse, StatusCodes }
|
||||
import akka.http.model.headers.{ HttpEncodings, HttpEncoding, `Accept-Encoding`, `Content-Encoding` }
|
||||
import akka.http.model.headers.HttpEncodings._
|
||||
import akka.http.server._
|
||||
import akka.http.scaladsl.coding._
|
||||
import akka.http.scaladsl.model.{ HttpResponse, StatusCodes }
|
||||
import akka.http.scaladsl.model.headers.{ HttpEncodings, HttpEncoding, `Accept-Encoding`, `Content-Encoding` }
|
||||
import akka.http.scaladsl.model.headers.HttpEncodings._
|
||||
import akka.http.scaladsl.server._
|
||||
import akka.util.ByteString
|
||||
import org.scalatest.matchers.Matcher
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
package docs.http.server
|
||||
package directives
|
||||
|
||||
import akka.http.server._
|
||||
import akka.http.model.headers.{ HttpCookie, Cookie, `Set-Cookie` }
|
||||
import akka.http.util.DateTime
|
||||
import akka.http.scaladsl.server._
|
||||
import akka.http.scaladsl.model.headers.{ HttpCookie, Cookie, `Set-Cookie` }
|
||||
import akka.http.scaladsl.model.DateTime
|
||||
|
||||
class CookieDirectivesExamplesSpec extends RoutingSpec {
|
||||
"cookie" in {
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
package docs.http.server
|
||||
package directives
|
||||
|
||||
import akka.http.model.{ HttpResponse, HttpRequest }
|
||||
import akka.http.server._
|
||||
import akka.http.scaladsl.model.{ HttpResponse, HttpRequest }
|
||||
import akka.http.scaladsl.server._
|
||||
|
||||
import akka.event.Logging
|
||||
import akka.http.server.directives.{ LoggingMagnet, LogEntry, DebuggingDirectives }
|
||||
import akka.http.scaladsl.server.directives.{ LoggingMagnet, LogEntry, DebuggingDirectives }
|
||||
|
||||
class DebuggingDirectivesExamplesSpec extends RoutingSpec {
|
||||
"logRequest-0" in {
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
package docs.http.server
|
||||
package directives
|
||||
|
||||
import akka.http.model.StatusCodes
|
||||
import akka.http.server._
|
||||
import akka.http.scaladsl.model.StatusCodes
|
||||
import akka.http.scaladsl.server._
|
||||
|
||||
class ExecutionDirectivesExamplesSpec extends RoutingSpec {
|
||||
"handleExceptions" in {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
package docs.http.server
|
||||
package directives
|
||||
|
||||
import akka.http.server._
|
||||
import akka.http.scaladsl.server._
|
||||
|
||||
class PathDirectivesExamplesSpec extends RoutingSpec {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue