All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.http4s.server.jetty.InstrumentedConnectionFactory.scala Maven / Gradle / Ivy

There is a newer version: 0.16.6a
Show newest version
package org.http4s.server.jetty

import com.codahale.metrics.Timer
import com.codahale.metrics.jetty9.{InstrumentedConnectionFactory => MInstrumentedConnectionFactory}
import org.eclipse.jetty.server.ConnectionFactory

/**
 * Workaround for https://github.com/http4s/http4s/issues/396
 */
class InstrumentedConnectionFactory (connectionFactory: ConnectionFactory, timer: Timer)
  extends MInstrumentedConnectionFactory(connectionFactory, timer)
{
  def getProtocols: java.util.List[String] = connectionFactory.getProtocols
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy