endpoints4s.play.server.PlayComponents
See thePlayComponents companion trait
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Creates the PlayComponents
from a BuiltInComponents
instance
Creates the PlayComponents
from a BuiltInComponents
instance
This can be useful in conjunction with the usage of fromXxxWithComponents
methods of Play framework:
val serverConfig = ServerConfig(...)
NettyServer.fromRouterWithComponents(serverConfig) { builtInComponents =>
val playComponents = PlayComponents.fromBuiltInComponents(builtInComponents)
...
}
Attributes