Class HttpAPIClientHelper.MeteredManagedHttpClientConnectionFactory

java.lang.Object
org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory
com.clickhouse.client.api.internal.HttpAPIClientHelper.MeteredManagedHttpClientConnectionFactory
All Implemented Interfaces:
org.apache.hc.core5.http.io.HttpConnectionFactory<org.apache.hc.client5.http.io.ManagedHttpClientConnection>
Enclosing class:
HttpAPIClientHelper

public class HttpAPIClientHelper.MeteredManagedHttpClientConnectionFactory extends org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory

    org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory.Builder
  • Field Summary

    Fields inherited from class org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    MeteredManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.impl.io.DefaultHttpResponseParserFactory defaultHttpResponseParserFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hc.client5.http.io.ManagedHttpClientConnection
     
    long
     

    Methods inherited from class org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory

    builder

    Methods inherited from class java.lang.Object

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

    • MeteredManagedHttpClientConnectionFactory

      public MeteredManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config http1Config, org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig, org.apache.hc.core5.http.impl.io.DefaultHttpResponseParserFactory defaultHttpResponseParserFactory)
  • Method Details

    • createConnection

      public org.apache.hc.client5.http.io.ManagedHttpClientConnection createConnection(Socket socket) throws IOException
      Specified by:
      createConnection in interface org.apache.hc.core5.http.io.HttpConnectionFactory<org.apache.hc.client5.http.io.ManagedHttpClientConnection>
      Overrides:
      createConnection in class org.apache.hc.client5.http.impl.io.ManagedHttpClientConnectionFactory
      Throws:
      IOException
    • getTime

      public long getTime()