io.dropwizard.jackson.Discoverable
AbstractServerFactory
, DefaultServerFactory
, SimpleServerFactory
public interface ServerFactory
extends io.dropwizard.jackson.Discoverable
Server
instances for Dropwizard applications.DefaultServerFactory
Modifier and Type | Method | 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 © 2018. All rights reserved.