Class HttpClient5BasedR2Client

java.lang.Object
com.linkedin.venice.fastclient.transport.HttpClient5BasedR2Client

public class HttpClient5BasedR2Client extends Object
This utility class could construct a HttpClient5 based R2 Client. TODO: get rid of R2 Client inferface completely from venice-client.
  • Field Details

  • Constructor Details

    • HttpClient5BasedR2Client

      public HttpClient5BasedR2Client()
  • Method Details

    • getR2Client

      public static com.linkedin.r2.transport.common.Client getR2Client(SSLContext sslContext) throws Exception
      Throws:
      Exception
    • getR2Client

      public static com.linkedin.r2.transport.common.Client getR2Client(SSLContext sslContext, int ioThreadCount) throws Exception
      Throws:
      Exception
    • getR2Client

      public static com.linkedin.r2.transport.common.Client getR2Client(SSLContext sslContext, int ioThreadCount, long responseTimeout) throws Exception
      Throws:
      Exception