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

    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 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's Server instance
      metrics - the application's metrics
      name - the application's name
      threadPool - the application's thread pool
      Returns:
      a Connector