Package io.dropwizard.jetty
Interface ConnectorFactory
-
- All Superinterfaces:
Discoverable
- All Known Implementing Classes:
Http2CConnectorFactory
,Http2ConnectorFactory
,HttpConnectorFactory
,HttpsConnectorFactory
,UnixSocketConnectorFactory
public interface ConnectorFactory extends Discoverable
A factory for creating JettyConnector
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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'sServer
instancemetrics
- the application's metricsname
- the application's namethreadPool
- the application's thread pool- Returns:
- a
Connector
-
-