Class HttpClientsFactory


  • public class HttpClientsFactory
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpClientsFactory​(pl.allegro.tech.hermes.common.config.ConfigFactory configFactory, pl.allegro.tech.hermes.common.metric.executor.InstrumentedExecutorServiceFactory executorFactory, SslContextFactoryProvider sslContextFactoryProvider)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jetty.client.HttpClient createClientForHttp1​(java.lang.String name)  
      org.eclipse.jetty.client.HttpClient createClientForHttp2()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpClientsFactory

        public HttpClientsFactory​(pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
                                  pl.allegro.tech.hermes.common.metric.executor.InstrumentedExecutorServiceFactory executorFactory,
                                  SslContextFactoryProvider sslContextFactoryProvider)
    • Method Detail

      • createClientForHttp1

        public org.eclipse.jetty.client.HttpClient createClientForHttp1​(java.lang.String name)
      • createClientForHttp2

        public org.eclipse.jetty.client.HttpClient createClientForHttp2()