public interface ServerFactory extends Discoverable
Server
instances for Dropwizard applications.DefaultServerFactory
Modifier and Type | Method and Description |
---|---|
org.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.
|
org.eclipse.jetty.server.Server build(Environment environment)
environment
- the application's environmentServer
running the Dropwizard applicationvoid configure(Environment environment)
environment
- the application's environmentCopyright © 2020. All rights reserved.