example snippet for akka http java dsl: FileAndResourceDirectives (#20758)
This commit is contained in:
parent
16cde39de8
commit
efb18c95b1
12 changed files with 151 additions and 19 deletions
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
package akka.http.scaladsl.server
|
||||
|
||||
import scala.concurrent.{ExecutionContextExecutor, Future}
|
||||
import akka.stream.{ActorMaterializer, ActorMaterializerHelper, Materializer}
|
||||
import scala.concurrent.{ ExecutionContextExecutor, Future }
|
||||
import akka.stream.{ ActorMaterializer, ActorMaterializerHelper, Materializer }
|
||||
import akka.event.LoggingAdapter
|
||||
import akka.http.scaladsl.settings.{ParserSettings, RoutingSettings}
|
||||
import akka.http.scaladsl.marshalling.{Marshal, ToResponseMarshallable}
|
||||
import akka.http.scaladsl.settings.{ ParserSettings, RoutingSettings }
|
||||
import akka.http.scaladsl.marshalling.{ Marshal, ToResponseMarshallable }
|
||||
import akka.http.scaladsl.model._
|
||||
import akka.http.scaladsl.util.FastFuture
|
||||
import akka.http.scaladsl.util.FastFuture._
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue