public class Jetty93InstrumentedConnectionFactory
extends org.eclipse.jetty.util.component.ContainerLifeCycle
implements org.eclipse.jetty.server.ConnectionFactory
InstrumentedConnectionFactory
, which supports Jetty 9.3 API.
NOTE: This class could be replaced, when dropwizard-metrics-jetty9 will support Jetty 9.3.org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.server.ConnectionFactory.Upgrading
Constructor and Description |
---|
Jetty93InstrumentedConnectionFactory(org.eclipse.jetty.server.ConnectionFactory connectionFactory,
com.codahale.metrics.Timer timer) |
Modifier and Type | Method and 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) |
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
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Jetty93InstrumentedConnectionFactory(org.eclipse.jetty.server.ConnectionFactory connectionFactory, com.codahale.metrics.Timer timer)
public org.eclipse.jetty.server.ConnectionFactory getConnectionFactory()
public com.codahale.metrics.Timer getTimer()
public String getProtocol()
getProtocol
in interface org.eclipse.jetty.server.ConnectionFactory
public List<String> getProtocols()
getProtocols
in interface org.eclipse.jetty.server.ConnectionFactory
public org.eclipse.jetty.io.Connection newConnection(org.eclipse.jetty.server.Connector connector, org.eclipse.jetty.io.EndPoint endPoint)
newConnection
in interface org.eclipse.jetty.server.ConnectionFactory
Copyright © 2019. All rights reserved.