Package io.dropwizard.jetty
Interface ConnectorFactory
- All Superinterfaces:
io.dropwizard.jackson.Discoverable
- All Known Implementing Classes:
HttpConnectorFactory,HttpsConnectorFactory
public interface ConnectorFactory
extends io.dropwizard.jackson.Discoverable
A factory for creating Jetty
Connectors.-
Method Summary
-
Method Details
-
build
org.eclipse.jetty.server.Connector build(org.eclipse.jetty.server.Server server, com.codahale.metrics.MetricRegistry metrics, String name, @Nullable org.eclipse.jetty.util.thread.ThreadPool threadPool) Create a new connector.- Parameters:
server- the application'sServerinstancemetrics- the application's metricsname- the application's namethreadPool- the application's thread pool- Returns:
- a
Connector
-