Class InstrumentedConnectionFactory

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
io.dropwizard.metrics5.jetty10.InstrumentedConnectionFactory
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 InstrumentedConnectionFactory
extends org.eclipse.jetty.util.component.ContainerLifeCycle
implements org.eclipse.jetty.server.ConnectionFactory
  • Nested Class Summary

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

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException

    Nested classes/interfaces inherited from interface org.eclipse.jetty.server.ConnectionFactory

    org.eclipse.jetty.server.ConnectionFactory.Configuring, 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, STARTED, STARTING, STOPPED, STOPPING

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY
  • Constructor Summary

    Constructors
    Constructor Description
    InstrumentedConnectionFactory​(org.eclipse.jetty.server.ConnectionFactory connectionFactory, io.dropwizard.metrics5.Timer timer)  
    InstrumentedConnectionFactory​(org.eclipse.jetty.server.ConnectionFactory connectionFactory, io.dropwizard.metrics5.Timer timer, io.dropwizard.metrics5.Counter counter)  
  • Method Summary

    Modifier and Type Method Description
    String getProtocol()  
    List<String> getProtocols()  
    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, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.Container

    getCachedBeans, getEventListeners

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

    dumpSelf

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

    isDumpable
  • Constructor Details

    • InstrumentedConnectionFactory

      public InstrumentedConnectionFactory​(org.eclipse.jetty.server.ConnectionFactory connectionFactory, io.dropwizard.metrics5.Timer timer)
    • InstrumentedConnectionFactory

      public InstrumentedConnectionFactory​(org.eclipse.jetty.server.ConnectionFactory connectionFactory, io.dropwizard.metrics5.Timer timer, io.dropwizard.metrics5.Counter counter)
  • Method Details

    • 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