Package io.dropwizard.core.server
Interface ServerFactory
- All Superinterfaces:
io.dropwizard.jackson.Discoverable
- All Known Implementing Classes:
AbstractServerFactory,DefaultServerFactory,SimpleServerFactory
public interface ServerFactory
extends io.dropwizard.jackson.Discoverable
A factory for building
Server instances for Dropwizard applications.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.server.Serverbuild(Environment environment) Build a server for the given Dropwizard application.voidconfigure(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
Serverrunning the Dropwizard application
-
configure
Configures the given environment with settings defined in the factory.- Parameters:
environment- the application's environment
-