Class Jetty93InstrumentedConnectionFactory

  • All Implemented Interfaces:
    org.eclipse.jetty.server.ConnectionFactory, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle

    public class Jetty93InstrumentedConnectionFactory
    extends org.eclipse.jetty.util.component.ContainerLifeCycle
    implements org.eclipse.jetty.server.ConnectionFactory
    A version InstrumentedConnectionFactory, which supports Jetty 9.3 API. NOTE: This class could be replaced, when dropwizard-metrics-jetty9 will support Jetty 9.3.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory

        org.eclipse.jetty.server.ConnectionFactory.Detecting, org.eclipse.jetty.server.ConnectionFactory.Upgrading
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

        org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

        org.eclipse.jetty.util.component.Dumpable.DumpableContainer
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      Jetty93InstrumentedConnectionFactory​(org.eclipse.jetty.server.ConnectionFactory connectionFactory, com.codahale.metrics.Timer timer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jetty.server.ConnectionFactory getConnectionFactory()  
      String getProtocol()  
      List<String> getProtocols()  
      com.codahale.metrics.Timer getTimer()  
      org.eclipse.jetty.io.Connection newConnection​(org.eclipse.jetty.server.Connector connector, org.eclipse.jetty.io.EndPoint endPoint)  
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

        dumpSelf
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

        isDumpable
    • Constructor Detail

      • Jetty93InstrumentedConnectionFactory

        public Jetty93InstrumentedConnectionFactory​(org.eclipse.jetty.server.ConnectionFactory connectionFactory,
                                                    com.codahale.metrics.Timer timer)
    • Method Detail

      • getConnectionFactory

        public org.eclipse.jetty.server.ConnectionFactory getConnectionFactory()
      • getTimer

        public com.codahale.metrics.Timer getTimer()
      • getProtocol

        public String getProtocol()
        Specified by:
        getProtocol in interface org.eclipse.jetty.server.ConnectionFactory
      • getProtocols

        public List<String> getProtocols()
        Specified by:
        getProtocols in interface org.eclipse.jetty.server.ConnectionFactory
      • newConnection

        public org.eclipse.jetty.io.Connection newConnection​(org.eclipse.jetty.server.Connector connector,
                                                             org.eclipse.jetty.io.EndPoint endPoint)
        Specified by:
        newConnection in interface org.eclipse.jetty.server.ConnectionFactory