Package io.dropwizard.core.server
Interface ServerFactory
- All Superinterfaces:
Discoverable
- All Known Implementing Classes:
AbstractServerFactory
,DefaultServerFactory
,SimpleServerFactory
A factory for building
Server
instances for Dropwizard applications.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.server.Server
build
(Environment environment) Build a server for the given Dropwizard application.void
configure
(Environment environment) Configures the given environment with settings defined in the factory.
-
Method Details
-
build
Build a server for the given Dropwizard application.- Parameters:
environment
- the application's environment- Returns:
- a
Server
running the Dropwizard application
-
configure
Configures the given environment with settings defined in the factory.- Parameters:
environment
- the application's environment
-