com.netflix.atlas.pekko.WebServer
See theWebServer companion object
class WebServer(config: Config, classFactory: ClassFactory, registry: Registry, val system: ActorSystem, val materializer: Materializer) extends AbstractService, StrictLogging
Web server instance.
Value parameters
- classFactory
-
Used to create instances of class names from the config file via the injector. The endpoints listed in
atlas.pekko.endpoints
will be created using this factory. - config
-
System configuration used for main server settings. In particular
atlas.pekko.port
is used for setting the server port. - registry
-
Metrics registry for reporting server stats.
- system
-
Instance of the actor system.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait StrictLoggingclass AbstractServicetrait AutoCloseabletrait Serviceclass Objecttrait Matchableclass Any
Members list
In this article